mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-17 08:07:51 +00:00
put compiling message only after checking for binary
This commit is contained in:
parent
c97b0332b7
commit
2d67061fe3
@ -35,15 +35,15 @@ class Vyper {
|
|||||||
if (!contractFiles || !contractFiles.length) {
|
if (!contractFiles || !contractFiles.length) {
|
||||||
return cb();
|
return cb();
|
||||||
}
|
}
|
||||||
self.logger.info(__("compiling Vyper contracts") + "...");
|
|
||||||
|
|
||||||
const vyper = shelljs.which('vyper');
|
const vyper = shelljs.which('vyper');
|
||||||
if (!vyper) {
|
if (!vyper) {
|
||||||
self.logger.warn(__('%s is not installed on your machine', 'Vyper'));
|
self.logger.warn(__('%s is not installed on your machine', 'Vyper'));
|
||||||
self.logger.info(__('You can install it by visiting: %s', 'https://vyper.readthedocs.io/en/latest/installing-vyper.html'));
|
self.logger.info(__('You can install it by visiting: %s', 'https://vyper.readthedocs.io/en/latest/installing-vyper.html'));
|
||||||
return cb();
|
return cb();
|
||||||
}
|
}
|
||||||
|
self.logger.info(__("compiling Vyper contracts") + "...");
|
||||||
|
|
||||||
const compiled_object = {};
|
const compiled_object = {};
|
||||||
async.each(contractFiles,
|
async.each(contractFiles,
|
||||||
function (file, fileCb) {
|
function (file, fileCb) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user