Fixing UI compilation (#2853)

This commit is contained in:
Tomasz Drwięga 2016-10-25 12:11:56 +02:00 committed by Gav Wood
parent 037a8c7625
commit 1af40a3db3
2 changed files with 2 additions and 6 deletions

View File

@ -7,7 +7,7 @@ authors = ["Ethcore <admin@ethcore.io>"]
build = "build.rs" build = "build.rs"
[features] [features]
default = ["with-syntex"] default = ["with-syntex", "use-precompiled-js"]
use-precompiled-js = ["parity-dapps-glue/use-precompiled-js"] use-precompiled-js = ["parity-dapps-glue/use-precompiled-js"]
with-syntex = ["parity-dapps-glue/with-syntex"] with-syntex = ["parity-dapps-glue/with-syntex"]

View File

@ -17,10 +17,6 @@
extern crate parity_dapps_glue; extern crate parity_dapps_glue;
fn main() { fn main() {
// FIXME: Currently creates an issue when parity_dapps_glue::js::build(env!("CARGO_MANIFEST_DIR"), "build");
// (a) always trying to build &
// (b) trying to install node_modules inside the build directory (no package.json)
// Uncomment the next line when fixed to perfection
// parity_dapps_glue::js::build(env!("CARGO_MANIFEST_DIR"), "build");
parity_dapps_glue::generate(); parity_dapps_glue::generate();
} }