TypeStrong / dts-bundle

Export TypeScript .d.ts files as an external module definition
MIT License
308 stars 57 forks source link

CLI tests not passed on travis #31

Closed tolemac closed 8 years ago

tolemac commented 8 years ago

The test doesn't pass because needs to npm install -g dts-bundle and travis dont found dts-bundle command.

I have added this:

before_script:
  - npm install -g

to .travis.yml but doesn't work ... I can't install via npm install -g dts-bundle because the published npm package don't have the CLI feature ...

Need help about that :octopus: @basarat :sos: ;)

basarat commented 8 years ago

I can't install via npm install -g dts-bundle because the published npm package don't have the CLI feature ...

Don't go npm install -g on test env. Just do require('child_process').exec "node ./path/to/cli/tool" in the test env

tolemac commented 8 years ago

Done!! Thank you very much!