Jamey McElveen
Jamey McElveen

Reputation: 18305

Is there a way to use JavaScript for my build script instead of .CMD, .BAT or NAnt?

Is there a way to use JavaScript for my build script instead of .CMD, .BAT or NAnt? I am getting tired or using a different language for my build and deploy scripts; surely there is a better way to do it?

Upvotes: 0

Views: 83

Answers (2)

mweststrate
mweststrate

Reputation: 4978

You might want to try nscript, it is a npm package explicitly designed to replace bash or python like build scripts for those who are more comfortable with javascript. Any feedback is welcome!

Upvotes: 1

T.J. Crowder
T.J. Crowder

Reputation: 1074809

Sure, there are several implementations of JavaScript that can be used for shell scripting. Since you seem to be using Windows, there's the built in Windows Script Host which can run command-line scripts via cscript.exe. NodeJS is another option, which I use sometimes on *nix systems but haven't used on Windows..

Upvotes: 2

Related Questions