Closed BurtHarris closed 7 years ago
https://www.npmjs.com/package/cross-env would solve this. I don't have a Windows machine to test, but if you get it working please do PR!
cross-env sounds cool, thanks I'll have a look.
P.S. https://www.appveyor.com is free windows-based CI service (for public projects) could be useful. I could probably submit a PR to enable it if you are interested..
@BurtHarris always interested in PRs like that! 👍
Give me a few minutes, I'll add appveyor to my branch.
Done! @jayphelps Please have a look. https://ci.appveyor.com/project/BurtHarris/core-decorators-js/build/1.0.4
Looks like the build script update for
es
output causes a failure for the windows platform. It look to be driven by this line inpackage.json
:I gather that starting the second command with
BABEL_ENV=es
is a bash convention for setting a temporary environment variable. It doesn't work underCommand.exe
. It seems like a cool feature for a shell, just not found everywhere.