fix vyper .vy

This commit is contained in:
Jonathan Rainville 2018-05-17 09:10:40 -04:00
parent f828e9d87e
commit dd78aef3db
1 changed files with 2 additions and 0 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) {