pstadler / flightplan

Run sequences of shell commands against local and remote hosts.
https://www.npmjs.com/package/flightplan
MIT License
1.82k stars 116 forks source link

Ecmascript 6/7 & Babel support #114

Closed devlato closed 8 years ago

devlato commented 8 years ago

Hi! Will flightplan have any support of ES6/Babel? Or is it possible to run flightplan programmatically?

pstadler commented 8 years ago

Flightplan supports ES6. You can even pass flags known to v8 such as --harmony:

$ fly test --harmony

Alternatively you can simply call the file flightplan.babel.js. This should automatically require babel if available.

Please let me know how this is working out for you.

devlato commented 8 years ago

Yes, it works, thank you