By default installed script languages for bootstrapping project
up vote
0
down vote
favorite
I would like to bootstrap a Git project right after it has been downloaded or cloned using a script. However, I will be running across Windows and uNIX (Linux, MacOS, ...). So I need to have a cross-platform solution.
I had a look at Microsoft JScript and Apple JXA. However, JXA is only available since Yosemite, and JScript is...a Microsoft thing. Not very easy to get around, but not impossible either - luckily.
I can befriend myself with having to expect MacOS users to at least have Yosemite installed, but what about Linux users? I haven't seen a per-default JavaScript executor for Linux yet. True, I could be using node, but Node is in fact very big in comparsion to my project (a project based on Gravity) and as it includes a scripting language on it's own, downloading NodeJS kinda feels like defeating the purpose entirely.
So, JavaScript is the one that I picked off my knowledge; but what native, without-installation (if possible) scripting languages are there?
All I want to do is:
- Locate programs (gcc, clang, cl, ...)
- Concatenate files (i.e.:
cat deps/gravity/src/.../*.c > gravitylib.c) - Run programs (
gcc test.c -o test && ./test)
Kind regards,
Ingwie
scripting initialization
add a comment |
up vote
0
down vote
favorite
I would like to bootstrap a Git project right after it has been downloaded or cloned using a script. However, I will be running across Windows and uNIX (Linux, MacOS, ...). So I need to have a cross-platform solution.
I had a look at Microsoft JScript and Apple JXA. However, JXA is only available since Yosemite, and JScript is...a Microsoft thing. Not very easy to get around, but not impossible either - luckily.
I can befriend myself with having to expect MacOS users to at least have Yosemite installed, but what about Linux users? I haven't seen a per-default JavaScript executor for Linux yet. True, I could be using node, but Node is in fact very big in comparsion to my project (a project based on Gravity) and as it includes a scripting language on it's own, downloading NodeJS kinda feels like defeating the purpose entirely.
So, JavaScript is the one that I picked off my knowledge; but what native, without-installation (if possible) scripting languages are there?
All I want to do is:
- Locate programs (gcc, clang, cl, ...)
- Concatenate files (i.e.:
cat deps/gravity/src/.../*.c > gravitylib.c) - Run programs (
gcc test.c -o test && ./test)
Kind regards,
Ingwie
scripting initialization
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I would like to bootstrap a Git project right after it has been downloaded or cloned using a script. However, I will be running across Windows and uNIX (Linux, MacOS, ...). So I need to have a cross-platform solution.
I had a look at Microsoft JScript and Apple JXA. However, JXA is only available since Yosemite, and JScript is...a Microsoft thing. Not very easy to get around, but not impossible either - luckily.
I can befriend myself with having to expect MacOS users to at least have Yosemite installed, but what about Linux users? I haven't seen a per-default JavaScript executor for Linux yet. True, I could be using node, but Node is in fact very big in comparsion to my project (a project based on Gravity) and as it includes a scripting language on it's own, downloading NodeJS kinda feels like defeating the purpose entirely.
So, JavaScript is the one that I picked off my knowledge; but what native, without-installation (if possible) scripting languages are there?
All I want to do is:
- Locate programs (gcc, clang, cl, ...)
- Concatenate files (i.e.:
cat deps/gravity/src/.../*.c > gravitylib.c) - Run programs (
gcc test.c -o test && ./test)
Kind regards,
Ingwie
scripting initialization
I would like to bootstrap a Git project right after it has been downloaded or cloned using a script. However, I will be running across Windows and uNIX (Linux, MacOS, ...). So I need to have a cross-platform solution.
I had a look at Microsoft JScript and Apple JXA. However, JXA is only available since Yosemite, and JScript is...a Microsoft thing. Not very easy to get around, but not impossible either - luckily.
I can befriend myself with having to expect MacOS users to at least have Yosemite installed, but what about Linux users? I haven't seen a per-default JavaScript executor for Linux yet. True, I could be using node, but Node is in fact very big in comparsion to my project (a project based on Gravity) and as it includes a scripting language on it's own, downloading NodeJS kinda feels like defeating the purpose entirely.
So, JavaScript is the one that I picked off my knowledge; but what native, without-installation (if possible) scripting languages are there?
All I want to do is:
- Locate programs (gcc, clang, cl, ...)
- Concatenate files (i.e.:
cat deps/gravity/src/.../*.c > gravitylib.c) - Run programs (
gcc test.c -o test && ./test)
Kind regards,
Ingwie
scripting initialization
scripting initialization
asked Nov 10 at 14:29
Ingwie Phoenix
7361621
7361621
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53239932%2fby-default-installed-script-languages-for-bootstrapping-project%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown