-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Development
- Loading branch information
Showing
89 changed files
with
4,391 additions
and
519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
const chalk = require('chalk'); | ||
const logger = require('../../common/logger'); | ||
|
||
module.exports = { | ||
'StartCompilation': () => { console.log(chalk.magentaBright('===== Compilation has started... =====')); }, | ||
'UnsuccessfulCompilation': (error) => { | ||
console.log(chalk.redBright(`===== Unsuccessful compilation =====`)); | ||
console.log(error); | ||
'CONTRACT': { | ||
'Compiled': (contract) => { logger.success(`===== ${contract} has been successfully compiled =====`); }, | ||
'NotCompiled': (error, file) => { logger.error(`===== Unsuccessful compilation of ${file} =====`, error); }, | ||
'NotFound': () => { logger.info(`===== There is not a contract to compile =====`); } | ||
}, | ||
'SuccessfulCompilationOfContract': (contract) => { console.log(chalk.greenBright(`===== Successfully compilation of ${contract} =====`)); }, | ||
'UnsuccessfulCompilationOfContract': (error, file) => { | ||
console.log(chalk.redBright(`===== Unsuccessful compilation of ${file} =====`)); | ||
console.log(error); | ||
}, | ||
'ContractNotExisting': () => { console.log(chalk.redBright(`===== There is not a contract to compile =====`)); } | ||
'COMMAND': { | ||
'Start': () => { logger.info('===== Compilation has started... ====='); }, | ||
'Error': (error) => { logger.error(`===== Unsuccessful compilation =====`, error); }, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
const chalk = require('chalk'); | ||
const logger = require('../../common/logger'); | ||
|
||
module.exports = { | ||
'StartDeployment': () => { console.log(chalk.magentaBright('===== Deployment has started... =====')); }, | ||
'SuccessfulDeploymentOfScript': (script) => { console.log(chalk.greenBright(`===== Successful deployment of ${script} =====`)); }, | ||
'UnsuccessfulDeploymentOfScript': (script, error) => { | ||
console.log(chalk.redBright(`===== Unsuccessful deployment of ${script} =====`)); | ||
console.log(error); | ||
'SCRIPT': { | ||
'Processed': (script) => { logger.success(`===== Successful deployment of ${script} =====`); }, | ||
'NotProcessed': (script, error) => { logger.error(`===== Unsuccessful deployment of ${script} =====`, error); }, | ||
}, | ||
'UnsuccessfulDeployment': (error) => { | ||
console.log(chalk.redBright(`===== Unsuccessful deployment =====`)); | ||
console.log(error); | ||
'COMMAND': { | ||
'Start': () => { logger.info('===== Deployment has started... ====='); }, | ||
'Error': (error) => { logger.error(`===== Unsuccessful deployment =====`, error); } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.