Merge pull request #427 from embark-framework/bug_fix/vyper

add line to compile .vy
This commit is contained in:
Iuri Matias 2018-05-17 09:26:54 -04:00 committed by GitHub
commit 0a9e4a0f37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 145 additions and 146 deletions

View File

@ -9,7 +9,9 @@ class Vyper {
this.events = embark.events; this.events = embark.events;
this.contractDirectories = options.contractDirectories; this.contractDirectories = options.contractDirectories;
// FIXME: Use array of extensions instead of duplicatiing
embark.registerCompiler(".py", this.compile_vyper.bind(this)); embark.registerCompiler(".py", this.compile_vyper.bind(this));
embark.registerCompiler(".vy", this.compile_vyper.bind(this));
} }
static compileVyperContract(filename, compileABI, callback) { static compileVyperContract(filename, compileABI, callback) {

289
package-lock.json generated

File diff suppressed because it is too large Load Diff