Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy committed Nov 12, 2023
1 parent 58caab2 commit 0f68083
Show file tree
Hide file tree
Showing 8 changed files with 338 additions and 133 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ members = [
"deno_bindgen_ir",
"deno_bindgen_cli"
]
exclude = ["example/"]
exclude = ["e2e_test/"]
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
fmt:
cargo fmt
deno fmt --ignore=target/,example/target/,example/bindings/
deno fmt --ignore=target/,e2e_test/target/,e2e_test/bindings/

build:
cargo build

test: build
cargo test
cd example && ../target/debug/deno_bindgen -o bindings/mod.ts && deno test -A --unstable
cd e2e_test && ../target/debug/deno_bindgen -o bindings/mod.ts && deno test -A --unstable

bench: build
cd example && ../target/debug/deno_bindgen -o bindings/mod.ts && deno bench -A --unstable bench.js
cd e2e_test && ../target/debug/deno_bindgen -o bindings/mod.ts && deno bench -A --unstable bench.js
203 changes: 203 additions & 0 deletions e2e_test/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions example/Cargo.toml → e2e_test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "deno_bindgen_test"
name = "deno_bindgen_e2e"
version = "0.1.0"
edition = "2018"

Expand All @@ -9,5 +9,5 @@ serde = { version = "1", features = ["derive"] }
linkme = "0.3"

[lib]
name = "deno_bindgen_test"
name = "deno_bindgen_e2e"
crate-type = ["cdylib"]
File renamed without changes.
Loading

0 comments on commit 0f68083

Please sign in to comment.