Skip to content

Commit 5365680

Browse files
committed
Add a wrapper script to keep ./solcjs available until we can drop it in a breaking release
1 parent 08ae214 commit 5365680

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

solcjs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/sh
2+
3+
set -e
4+
5+
script_dir="$(cd "$(dirname "$0")" && pwd)"
6+
7+
[ -e "$script_dir/dist/solc.js" ] || npm run build
8+
exec "$script_dir/dist/solc.js" "$@" < /dev/stdin

0 commit comments

Comments
 (0)