diff options
author | Fabio Berger <me@fabioberger.com> | 2018-05-15 01:32:32 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-05-15 01:32:32 +0800 |
commit | a6773b85d2a518c5bc636d889a20ee31bd809cc7 (patch) | |
tree | e4672ce9d1db5847bc46aee400e68f712e05f805 /packages/sol-compiler | |
parent | 5f678acf46ac024ccd6a0a6ea002e0ddf7ff3ba5 (diff) | |
download | dexon-sol-tools-a6773b85d2a518c5bc636d889a20ee31bd809cc7.tar dexon-sol-tools-a6773b85d2a518c5bc636d889a20ee31bd809cc7.tar.gz dexon-sol-tools-a6773b85d2a518c5bc636d889a20ee31bd809cc7.tar.bz2 dexon-sol-tools-a6773b85d2a518c5bc636d889a20ee31bd809cc7.tar.lz dexon-sol-tools-a6773b85d2a518c5bc636d889a20ee31bd809cc7.tar.xz dexon-sol-tools-a6773b85d2a518c5bc636d889a20ee31bd809cc7.tar.zst dexon-sol-tools-a6773b85d2a518c5bc636d889a20ee31bd809cc7.zip |
Fix sol-compiler binary so it can be called directly from packages
Diffstat (limited to 'packages/sol-compiler')
-rwxr-xr-x | packages/sol-compiler/bin/sol-compiler.js | 2 | ||||
-rw-r--r-- | packages/sol-compiler/package.json | 2 |
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", |