Last active
August 27, 2019 01:21
-
-
Save apeckham/2090b384fa3582b67f4cb5028e99e13b to your computer and use it in GitHub Desktop.
clojurescript/lumo + bash multiline shebang shell script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#_( | |
set -e | |
yarn check --silent --verify-tree | |
echo "hello from bash" | |
exec yarn exec --silent lumo -- "$0" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" "${10}" | |
) | |
(println "hello from clojurescript") | |
(println "command-line-args are" (pr-str *command-line-args*)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "multiline-shebang", | |
"version": "1.0.0", | |
"main": "index.js", | |
"repository": "https://gist.github.com/2090b384fa3582b67f4cb5028e99e13b.git", | |
"author": "", | |
"license": "MIT", | |
"dependencies": { | |
"lumo": "^0.20.16" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | |
# yarn lockfile v1 | |
earcut@^2.1.5: | |
version "2.1.5" | |
resolved "https://registry.yarnpkg.com/earcut/-/earcut-2.1.5.tgz#829280a9a3a0f5fee0529f0a47c3e4eff09b21e4" | |
integrity sha512-QFWC7ywTVLtvRAJTVp8ugsuuGQ5mVqNmJ1cRYeLrSHgP3nycr2RHTJob9OtM0v8ujuoKN0NY1a93J/omeTL1PA== | |
lodash@^4.17.11: | |
version "4.17.15" | |
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" | |
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== | |
lumo@^0.20.16: | |
version "0.20.16" | |
resolved "https://registry.yarnpkg.com/lumo/-/lumo-0.20.16.tgz#6345855e9c7a67c87417e9a091e22538fe82d205" | |
integrity sha512-QLQjDjzqeoAExzpXU+NWmX+mgcakNB7kZTQ6kC1M6dz7lrAtxJLNvsmAZYp1bP7SowmByqWdc0Hhos7pz5U3DA== | |
dependencies: | |
earcut "^2.1.5" | |
lodash "^4.17.11" | |
rbush "^3.0.0" | |
quickselect@^2.0.0: | |
version "2.0.0" | |
resolved "https://registry.yarnpkg.com/quickselect/-/quickselect-2.0.0.tgz#f19680a486a5eefb581303e023e98faaf25dd018" | |
integrity sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw== | |
rbush@^3.0.0: | |
version "3.0.1" | |
resolved "https://registry.yarnpkg.com/rbush/-/rbush-3.0.1.tgz#5fafa8a79b3b9afdfe5008403a720cc1de882ecf" | |
integrity sha512-XRaVO0YecOpEuIvbhbpTrZgoiI6xBlz6hnlr6EHhd+0x9ase6EmeN+hdwwUaJvLcsFFQ8iWVF1GAK1yB0BWi0w== | |
dependencies: | |
quickselect "^2.0.0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://stackoverflow.com/questions/13300031/is-there-a-way-to-have-a-multiline-shebang-for-a-groovy-script