Skip to content

Commit

Permalink
update manifests and scripts during release process
Browse files Browse the repository at this point in the history
  • Loading branch information
nitsky committed Jun 25, 2021
1 parent e7e8d18 commit e5058b2
Show file tree
Hide file tree
Showing 15 changed files with 56 additions and 48 deletions.
26 changes: 13 additions & 13 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ version = "0.4.0"
path = "lib.rs"

[dependencies]
anyhow = { version = "1", features = ["backtrace"] }
bitvec = "0.19"
buffalo = "0.1"
chrono = { version = "0.4", features = ["serde"] }
Expand All @@ -27,16 +28,15 @@ rand = "0.8"
rand_xoshiro = "0.6"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
anyhow = { version = "1", features = ["backtrace"] }
tangram_features = { path = "../features" }
tangram_finite = { path = "../finite" }
tangram_id = { path = "../id" }
tangram_kill_chip = { path = "../kill_chip" }
tangram_linear = { path = "../linear" }
tangram_metrics = { path = "../metrics" }
tangram_model = { path = "../model" }
tangram_progress_counter = { path = "../progress_counter" }
tangram_table = { path = "../table" }
tangram_text = { path = "../text" }
tangram_tree = { path = "../tree" }
tangram_zip = { path = "../zip" }
tangram_features = { version = "0.4", path = "../features" }
tangram_finite = { version = "0.4", path = "../finite" }
tangram_id = { version = "0.4", path = "../id" }
tangram_kill_chip = { version = "0.4", path = "../kill_chip" }
tangram_linear = { version = "0.4", path = "../linear" }
tangram_metrics = { version = "0.4", path = "../metrics" }
tangram_model = { version = "0.4", path = "../model" }
tangram_progress_counter = { version = "0.4", path = "../progress_counter" }
tangram_table = { version = "0.4", path = "../table" }
tangram_text = { version = "0.4", path = "../text" }
tangram_tree = { version = "0.4", path = "../tree" }
tangram_zip = { version = "0.4", path = "../zip" }
10 changes: 5 additions & 5 deletions crates/features/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ version = "0.4.0"
path = "lib.rs"

[dependencies]
anyhow = { version = "1", features = ["backtrace"] }
fnv = "1"
indexmap = { version = "1.6", features = ["serde-1"] }
itertools = "0.10"
ndarray = { version = "0.15", features = ["rayon"] }
num = "0.4"
serde = { version = "1", features = ["derive"] }
tangram_metrics = { path = "../metrics" }
tangram_table = { path = "../table" }
tangram_text = { path = "../text" }
anyhow = { version = "1", features = ["backtrace"] }
tangram_zip = { path = "../zip" }
tangram_metrics = { version = "0.4", path = "../metrics" }
tangram_table = { version = "0.4", path = "../table" }
tangram_text = { version = "0.4", path = "../text" }
tangram_zip = { version = "0.4", path = "../zip" }
14 changes: 7 additions & 7 deletions crates/linear/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ name = "tangram_linear_benchmark_iris"
path = "benchmarks/iris.rs"

[dependencies]
buffalo = "0.1"
buffalo = { version = "0.1", features = ["ndarray_0_15"] }
clap = { version = "3.0.0-beta.2", features = ["color"] }
maplit = "1"
ndarray = { version = "0.15", features = ["rayon"] }
num = "0.4"
rayon = "1.5"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tangram_features = { path = "../features" }
tangram_kill_chip = { path = "../kill_chip" }
tangram_metrics = { path = "../metrics" }
tangram_progress_counter = { path = "../progress_counter" }
tangram_table = { path = "../table" }
tangram_zip = { path = "../zip" }
tangram_features = { version = "0.4", path = "../features" }
tangram_kill_chip = { version = "0.4", path = "../kill_chip" }
tangram_metrics = { version = "0.4", path = "../metrics" }
tangram_progress_counter = { version = "0.4", path = "../progress_counter" }
tangram_table = { version = "0.4", path = "../table" }
tangram_zip = { version = "0.4", path = "../zip" }
2 changes: 1 addition & 1 deletion crates/metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ insta = "1"
itertools = "0.10"
ndarray = { version = "0.15", features = ["rayon"] }
num = "0.4"
tangram_zip = { path = "../zip" }
tangram_zip = { version = "0.4", path = "../zip" }
8 changes: 4 additions & 4 deletions crates/model/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ version = "0.4.0"
path = "lib.rs"

[dependencies]
anyhow = { version = "1", features = ["backtrace"] }
buffalo = "0.1"
fnv = "1"
num = "0.4"
anyhow = { version = "1", features = ["backtrace"] }
tangram_linear = { path = "../linear" }
tangram_text = { path = "../text" }
tangram_tree = { path = "../tree" }
tangram_linear = { version = "0.4", path = "../linear" }
tangram_text = { version = "0.4", path = "../text" }
tangram_tree = { version = "0.4", path = "../tree" }
12 changes: 6 additions & 6 deletions crates/tree/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ num = "0.4"
rayon = "1.5"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tangram_finite = { path = "../finite" }
tangram_kill_chip = { path = "../kill_chip" }
tangram_metrics = { path = "../metrics" }
tangram_progress_counter = { path = "../progress_counter" }
tangram_table = { path = "../table" }
tangram_zip = { path = "../zip" }
tangram_finite = { version = "0.4", path = "../finite" }
tangram_kill_chip = { version = "0.4", path = "../kill_chip" }
tangram_metrics = { version = "0.4", path = "../metrics" }
tangram_progress_counter = { version = "0.4", path = "../progress_counter" }
tangram_table = { version = "0.4", path = "../table" }
tangram_zip = { version = "0.4", path = "../zip" }
2 changes: 1 addition & 1 deletion languages/go/scripts/release
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if [ ! -e dist ]; then
git clone [email protected]:tangramxyz/tangram-go dist
fi
rsync --archive --delete --exclude .git --exclude .gitignore --exclude scripts --exclude dist . dist
rsync --archive --delete --exclude .git --exclude .gitignore --exclude dist --exclude docs --exclude scripts . dist
git -C dist add --all
git -C dist commit
git -C dist push
2 changes: 2 additions & 0 deletions languages/node/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/docs
/node_modules
1 change: 1 addition & 0 deletions languages/node/scripts/release
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
npm run build
npm publish --access public
5 changes: 3 additions & 2 deletions languages/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pdoc
pip
wheel
setuptools
setuptools-rust
pdoc
twine
wheel
5 changes: 4 additions & 1 deletion languages/python/scripts/release
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
twine upload dist/*
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
twine upload dist/*
3 changes: 0 additions & 3 deletions languages/ruby/scripts/build

This file was deleted.

4 changes: 4 additions & 0 deletions languages/ruby/scripts/release
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
gem build tangram.gemspec
rm -rf dist
mkdir -p dist
mv *.gem dist
gem push dist/*
8 changes: 4 additions & 4 deletions languages/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ tokio_1 = ["tokio"]
tokio = { version = "1" ,features = ["full"] }

[dependencies]
anyhow = { version = "1", features = ["backtrace"] }
chrono = { version = "0.4", features = ["serde"] }
memmap = "0.7"
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "rustls-tls"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tangram_core = { path = "../../crates/core" }
anyhow = { version = "1", features = ["backtrace"] }
tangram_macro = { path = "macro" }
tangram_model = { path = "../../crates/model" }
tangram_core = { version = "0.4", path = "../../crates/core" }
tangram_macro = { version = "0.4", path = "macro" }
tangram_model = { version = "0.4", path = "../../crates/model" }
tokio = { version = "1" ,features = ["full"], optional = true }
url = { version = "2", features = ["serde"] }
2 changes: 1 addition & 1 deletion scripts/build
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cargo run -p tangram_build -- $@
cargo run -p tangram_build --release -- $@

0 comments on commit e5058b2

Please sign in to comment.