Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Commit 02ea322

Browse files
authored
Fix/windows (#16)
* Fix: Fixes #12 - running commands on Windows. * Update: Updated builder version and added blob package as a known fix to import issue. * Update: Updating the package lock file. * Adding travis configuration. * Update: Updated builder version. * Update: Updated tests to test actuall build * Bumped version for the release. * Update: Adding cleanup function in the build test * Fix: Fixing dev test * Update: Removing dev run test until programatic way to disable server is ready.
1 parent 8a0b46c commit 02ea322

10 files changed

+342
-33
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
os:
2+
- linux
3+
- osx
4+
language: node_js
5+
node_js:
6+
- "6"
7+
- "7"
8+
- "8"
9+
script:
10+
- npm test

bin/api-console-cli-build.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// For windows (!)
2+
// Apparently the commander module has an issue and on windows it ignores
3+
// cli cmmand name and try to use module name instead.
4+
// https://github.com/tj/commander.js/issues/714
5+
require('./api-console-build');

bin/api-console-cli-dev.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// For windows (!)
2+
// Apparently the commander module has an issue and on windows it ignores
3+
// cli cmmand name and try to use module name instead.
4+
// https://github.com/tj/commander.js/issues/714
5+
require('./api-console-dev');
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// For windows (!)
2+
// Apparently the commander module has an issue and on windows it ignores
3+
// cli cmmand name and try to use module name instead.
4+
// https://github.com/tj/commander.js/issues/714
5+
require('./api-console-generate-json');

bin/api-console-cli-serve.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// For windows (!)
2+
// Apparently the commander module has an issue and on windows it ignores
3+
// cli cmmand name and try to use module name instead.
4+
// https://github.com/tj/commander.js/issues/714
5+
require('./api-console-serve');

0 commit comments

Comments
 (0)