aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-compiler
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sol-compiler')
-rwxr-xr-xpackages/sol-compiler/bin/sol-compiler.js2
-rw-r--r--packages/sol-compiler/package.json2
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/sol-compiler/bin/sol-compiler.js b/packages/sol-compiler/bin/sol-compiler.js
new file mode 100755
index 000000000..0e5b69af0
--- /dev/null
+++ b/packages/sol-compiler/bin/sol-compiler.js
@@ -0,0 +1,2 @@
+#!/usr/bin/env node
+require('../lib/src/cli.js')
diff --git a/packages/sol-compiler/package.json b/packages/sol-compiler/package.json
index 6edec7800..30e9a47c8 100644
--- a/packages/sol-compiler/package.json
+++ b/packages/sol-compiler/package.json
@@ -33,7 +33,7 @@
}
},
"bin": {
- "sol-compiler": "lib/src/cli.js"
+ "sol-compiler": "bin/sol-compiler.js"
},
"repository": {
"type": "git",