mirror of
https://github.com/embarklabs/embark-solc.git
synced 2025-02-28 06:20:39 +00:00
do not exit on not installed
This commit is contained in:
parent
eb7a0b905c
commit
eb0c51fe30
@ -35,9 +35,9 @@ function compileSolc(embark, contractFiles, cb) {
|
||||
|
||||
const solc = shelljs.which('solc');
|
||||
if (!solc) {
|
||||
logger.warn('solc is not installed on your machine');
|
||||
logger.error('solc is not installed on your machine');
|
||||
logger.info('You can install it by following the instructions on: http://solidity.readthedocs.io/en/latest/installing-solidity.html');
|
||||
process.exit();
|
||||
return cb('Compiler not installed');
|
||||
}
|
||||
|
||||
logger.info("compiling solidity contracts with command line solc...");
|
||||
|
@ -12,7 +12,7 @@
|
||||
"plugin",
|
||||
"contracts",
|
||||
"ethereum",
|
||||
"embark"
|
||||
"embark"
|
||||
],
|
||||
"author": "Richard Ramos",
|
||||
"license": "ISC",
|
||||
|
Loading…
x
Reference in New Issue
Block a user