Skip to content

Commit 1a2fae3

Browse files
v0.1.0
1 parent 0f98f25 commit 1a2fae3

File tree

19 files changed

+46
-38
lines changed

19 files changed

+46
-38
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ cargo install treeedb-<LANG> treeedbgen-souffle-<LANG>
5656
This will install binaries to `~/.cargo/bin`. To generate the Datalog file, run
5757
the `treeedbgen-souffle-<LANG>` binary.
5858

59+
Unfortunately, the Java-related binaries [are not yet available on
60+
crates.io][#23].
61+
5962
### Build From Source
6063

6164
To build from source, you'll need the Rust compiler and the [Cargo][cargo] build
@@ -225,6 +228,7 @@ bash scripts/add-language.sh python Python
225228

226229
[#3]: https://github.com/langston-barrett/treeedb/issues/3
227230
[#9]: https://github.com/langston-barrett/treeedb/pull/9
231+
[#23]: https://github.com/langston-barrett/treeedb/issues/23
228232
[cargo]: https://doc.rust-lang.org/cargo/
229233
[crates-io]: https://crates.io/
230234
[cclyzerpp-fact-generator]: https://galoisinc.github.io/cclyzerpp/architecture.html#the-fact-generator

scripts/publish.sh

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@
22

33
set -e
44

5+
# TODO(#23): Upload Java crates
6+
7+
# See #22 for discussion on the rate limit.
8+
59
cargo publish --package treeedb
6-
sleep 10
10+
sleep 60
711
cargo publish --package treeedbgen
8-
sleep 10
12+
sleep 60
913
cargo publish --package treeedbgen-souffle
10-
sleep 10
11-
for lang in c csharp java javascript rust souffle swift; do
14+
sleep 60
15+
for lang in c csharp javascript rust souffle swift; do
1216
cargo publish --package treeedb-${lang}
13-
sleep 10
17+
sleep 60
1418
cargo publish --package treeedbgen-souffle-${lang}
15-
sleep 10
19+
sleep 60
1620
done

treeedb-c/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "treeedb-c"
3-
version = "0.1.0-rc.5"
3+
version = "0.1.0"
44
edition = "2021"
55
description = "Generate Datalog facts from C source code"
66
keywords = ["datalog", "c", "parsing", "souffle"]
@@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/treeedb"
1212

1313
[dependencies]
1414
anyhow = "1.0"
15-
treeedb = { version = "0.1.0-rc.5", path = "../treeedb", features = ["cli"] }
15+
treeedb = { version = "0.1.0", path = "../treeedb", features = ["cli"] }
1616
tree-sitter-c = { version = "0.20" }

treeedb-csharp/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "treeedb-csharp"
3-
version = "0.1.0-rc.5"
3+
version = "0.1.0"
44
edition = "2021"
55
description = "Generate Datalog facts from C# source code"
66
keywords = ["datalog", "csharp", "parsing", "souffle"]
@@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/treeedb"
1212

1313
[dependencies]
1414
anyhow = "1.0"
15-
treeedb = { version = "0.1.0-rc.5", path = "../treeedb", features = ["cli"] }
15+
treeedb = { version = "0.1.0", path = "../treeedb", features = ["cli"] }
1616
tree-sitter-c-sharp = { version = "0.20", git = "https://github.com/tree-sitter/tree-sitter-c-sharp" }

treeedb-java/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "treeedb-java"
3-
version = "0.1.0-rc.5"
3+
version = "0.1.0"
44
edition = "2021"
55
description = "Generate Datalog facts from Java source code"
66
keywords = ["datalog", "java", "parsing", "souffle"]
@@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/treeedb"
1212

1313
[dependencies]
1414
anyhow = "1.0"
15-
treeedb = { version = "0.1.0-rc.5", path = "../treeedb", features = ["cli"] }
15+
treeedb = { version = "0.1.0", path = "../treeedb", features = ["cli"] }
1616
tree-sitter-java = { version = "0.20", git = 'https://github.com/tree-sitter/tree-sitter-java' }

treeedb-javascript/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "treeedb-javascript"
3-
version = "0.1.0-rc.5"
3+
version = "0.1.0"
44
edition = "2021"
55
description = "Generate Datalog facts from JavaScript source code"
66
keywords = ["datalog", "javascript", "parsing", "souffle"]
@@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/treeedb"
1212

1313
[dependencies]
1414
anyhow = "1.0"
15-
treeedb = { version = "0.1.0-rc.5", path = "../treeedb", features = ["cli"] }
15+
treeedb = { version = "0.1.0", path = "../treeedb", features = ["cli"] }
1616
tree-sitter-javascript = { version = "0.20" }

treeedb-rust/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "treeedb-rust"
3-
version = "0.1.0-rc.5"
3+
version = "0.1.0"
44
edition = "2021"
55
description = "Generate Datalog facts from Rust source code"
66
keywords = ["datalog", "rust", "parsing", "souffle"]
@@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/treeedb"
1212

1313
[dependencies]
1414
anyhow = "1.0"
15-
treeedb = { version = "0.1.0-rc.5", path = "../treeedb", features = ["cli"] }
15+
treeedb = { version = "0.1.0", path = "../treeedb", features = ["cli"] }
1616
tree-sitter-rust = { version = "0.20" }

treeedb-souffle/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "treeedb-souffle"
3-
version = "0.1.0-rc.5"
3+
version = "0.1.0"
44
edition = "2021"
55
description = "Generate Datalog facts from Soufflé source code"
66
keywords = ["datalog", "parsing", "souffle"]
@@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/treeedb"
1212

1313
[dependencies]
1414
anyhow = "1.0"
15-
treeedb = { version = "0.1.0-rc.5", path = "../treeedb", features = ["cli"] }
15+
treeedb = { version = "0.1.0", path = "../treeedb", features = ["cli"] }
1616
tree-sitter-souffle = { version = "0.4.0" }

treeedb-swift/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "treeedb-swift"
3-
version = "0.1.0-rc.5"
3+
version = "0.1.0"
44
edition = "2021"
55
description = "Generate Datalog facts from Swift source code"
66
keywords = ["datalog", "swift", "parsing", "souffle"]
@@ -12,5 +12,5 @@ repository = "https://github.com/langston-barrett/treeedb"
1212

1313
[dependencies]
1414
anyhow = "1.0"
15-
treeedb = { version = "0.1.0-rc.5", path = "../treeedb", features = ["cli"] }
15+
treeedb = { version = "0.1.0", path = "../treeedb", features = ["cli"] }
1616
tree-sitter-swift = { version = "0.3.4" }

treeedb/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "treeedb"
3-
version = "0.1.0-rc.5"
3+
version = "0.1.0"
44
edition = "2021"
55
description = "Generate Datalog facts from tree-sitter parse trees"
66
keywords = ["datalog", "parsing", "souffle"]

0 commit comments

Comments
 (0)