Merge pull request #428 from embark-framework/bug_fix/vyper-vy

fix vyper .vy
This commit is contained in:
Iuri Matias 2018-05-17 09:46:17 -04:00 committed by GitHub
commit c4c6b0fb7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {