mirror of
https://github.com/embarklabs/embark-solc.git
synced 2025-02-28 14:30:36 +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');
|
const solc = shelljs.which('solc');
|
||||||
if (!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');
|
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...");
|
logger.info("compiling solidity contracts with command line solc...");
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"plugin",
|
"plugin",
|
||||||
"contracts",
|
"contracts",
|
||||||
"ethereum",
|
"ethereum",
|
||||||
"embark"
|
"embark"
|
||||||
],
|
],
|
||||||
"author": "Richard Ramos",
|
"author": "Richard Ramos",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user