|
|
|
@ -7,6 +7,7 @@ const profile = { |
|
|
|
|
name: 'solidity-logic', |
|
|
|
|
displayName: 'Solidity compiler logic', |
|
|
|
|
description: 'Compile solidity contracts - Logic', |
|
|
|
|
methods: ['getCompilerState'], |
|
|
|
|
version: packageJson.version |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -68,6 +69,10 @@ class CompileTab extends Plugin { |
|
|
|
|
this.compiler.set('language', lang) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getCompilerState (lang) { |
|
|
|
|
return this.compiler.state |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Compile a specific file of the file manager |
|
|
|
|
* @param {string} target the path to the file to compile |
|
|
|
|