Fixing UI compilation (#2853)
This commit is contained in:
		
							parent
							
								
									037a8c7625
								
							
						
					
					
						commit
						1af40a3db3
					
				| @ -7,7 +7,7 @@ authors = ["Ethcore <admin@ethcore.io>"] | ||||
| 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"] | ||||
| 
 | ||||
|  | ||||
| @ -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(); | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user