forked from openethereum/parity-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing submodule in favour of rust crate (openethereum#2756)
* Removing submodule * Fixing UI dependency structure. * Merging RS and JS package * Updating release script to push also rs files * fix merge gone wrong * Fixing compilation
- Loading branch information
Showing
18 changed files
with
158 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
[package] | ||
description = "Parity built-in dapps." | ||
description = "Ethcore Parity UI" | ||
homepage = "http://ethcore.io" | ||
license = "GPL-3.0" | ||
name = "parity-ui" | ||
version = "1.4.0" | ||
license = "GPL-3.0" | ||
authors = ["Ethcore <[email protected]>"] | ||
build = "build.rs" | ||
|
||
[features] | ||
default = ["with-syntex"] | ||
use-precompiled-js = ["parity-dapps-glue/use-precompiled-js"] | ||
with-syntex = ["parity-dapps-glue/with-syntex"] | ||
|
||
[build-dependencies] | ||
parity-dapps-glue = { path = "../js-glue" } | ||
rustc_version = "0.1" | ||
|
||
[dependencies] | ||
parity-dapps-glue = { path = "../js-glue" } | ||
parity-ui-dev = { path = "../../js", optional = true } | ||
parity-ui-precompiled = { git = "https://github.com/ethcore/js-precompiled.git", optional = true } | ||
|
||
[features] | ||
no-precompiled-js = ["parity-ui-dev"] | ||
use-precompiled-js = ["parity-ui-precompiled"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
node_modules | ||
npm-debug.log | ||
build | ||
.build | ||
.coverage | ||
.happypack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[package] | ||
description = "Parity built-in dapps." | ||
name = "parity-ui-precompiled" | ||
version = "1.4.0" | ||
license = "GPL-3.0" | ||
authors = ["Ethcore <[email protected]>"] | ||
build = "build.rs" | ||
|
||
[features] | ||
default = ["with-syntex"] | ||
use-precompiled-js = ["parity-dapps-glue/use-precompiled-js"] | ||
with-syntex = ["parity-dapps-glue/with-syntex"] | ||
|
||
[build-dependencies] | ||
parity-dapps-glue = "1.4" | ||
|
||
[dependencies] | ||
parity-dapps-glue = "1.4" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[package] | ||
description = "Parity built-in dapps." | ||
name = "parity-ui-dev" | ||
version = "1.4.0" | ||
license = "GPL-3.0" | ||
authors = ["Ethcore <[email protected]>"] | ||
build = "build.rs" | ||
|
||
[features] | ||
default = ["with-syntex"] | ||
with-syntex = ["parity-dapps-glue/with-syntex"] | ||
|
||
[build-dependencies] | ||
parity-dapps-glue = "1.4" | ||
|
||
[dependencies] | ||
parity-dapps-glue = "1.4" | ||
|
Submodule build
deleted from
f94a8e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,11 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
|
||
# change into the submodule build directory | ||
# change into main dir | ||
pushd `dirname $0` | ||
cd ../build | ||
|
||
if [ -z "$1" ]; then | ||
popd | ||
echo "Usage: $0 <sha-commit>" | ||
exit 1 | ||
fi | ||
cd ../../ | ||
|
||
git fetch | ||
git fetch origin $1 | ||
git merge $1 -X theirs | ||
cargo update -p parity-ui-precompiled | ||
|
||
popd | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright 2015, 2016 Ethcore (UK) Ltd. | ||
// This file is part of Parity. | ||
|
||
// Parity is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
|
||
// Parity is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
|
||
// You should have received a copy of the GNU General Public License | ||
// along with Parity. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
#[cfg(feature = "with-syntex")] | ||
include!(concat!(env!("OUT_DIR"), "/lib.rs")); | ||
|
||
#[cfg(not(feature = "with-syntex"))] | ||
include!("lib.rs.in"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ use std::collections::HashMap; | |
use parity_dapps_glue::{WebApp, File, Info}; | ||
|
||
#[derive(WebAppFiles)] | ||
#[webapp(path = "../../../js/build")] | ||
#[webapp(path = "../build")] | ||
pub struct App { | ||
pub files: HashMap<&'static str, File>, | ||
} | ||
|
@@ -43,13 +43,13 @@ impl WebApp for App { | |
name: "Parity UI", | ||
version: env!("CARGO_PKG_VERSION"), | ||
author: "Ethcore <[email protected]>", | ||
description: "New UI for Parity. (Experimental)", | ||
description: "New UI for Parity.", | ||
icon_url: "icon.png", | ||
} | ||
} | ||
} | ||
|
||
#[test] | ||
fn test_js() { | ||
parity_dapps_glue::js::build(concat!(env!("CARGO_MANIFEST_DIR"), "/../../js")); | ||
parity_dapps_glue::js::build(env!("CARGO_MANIFEST_DIR")); | ||
} |
Oops, something went wrong.