From 1af40a3db3c4b7be20f2f0d839923a3118525703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Tue, 25 Oct 2016 12:11:56 +0200 Subject: [PATCH] Fixing UI compilation (#2853) --- js/Cargo.precompiled.toml | 2 +- js/build.rs | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/js/Cargo.precompiled.toml b/js/Cargo.precompiled.toml index 38e0a3b62..b8175e4f7 100644 --- a/js/Cargo.precompiled.toml +++ b/js/Cargo.precompiled.toml @@ -7,7 +7,7 @@ authors = ["Ethcore "] build = "build.rs" [features] -default = ["with-syntex"] +default = ["with-syntex", "use-precompiled-js"] use-precompiled-js = ["parity-dapps-glue/use-precompiled-js"] with-syntex = ["parity-dapps-glue/with-syntex"] diff --git a/js/build.rs b/js/build.rs index 0048b7d5a..82bf1ac93 100644 --- a/js/build.rs +++ b/js/build.rs @@ -17,10 +17,6 @@ extern crate parity_dapps_glue; fn main() { - // FIXME: Currently creates an issue when - // (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::js::build(env!("CARGO_MANIFEST_DIR"), "build"); parity_dapps_glue::generate(); }