Skip to content

Commit

Permalink
new CLI, stateless macro and struct redesign (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy authored Nov 12, 2023
1 parent f91ead2 commit 92e57fb
Show file tree
Hide file tree
Showing 60 changed files with 3,209 additions and 2,386 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
matrix:
os: [ windows-latest, macos-latest, ubuntu-latest ]
toolchain: [nightly]
deno_version: [1.33.1]
deno_version: [1.38.1]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -35,15 +35,19 @@ jobs:
components: rustfmt, clippy
- name: Build
run: cargo build --locked --release
- name: Build Example (debug)
working-directory: ./example
- name: Test (debug)
working-directory: ./e2e_test
run: |
deno run -A ../cli.ts
../target/release/deno_bindgen -o bindings/mod.ts
deno test -A --unstable
- name: Build Example (release)
working-directory: ./example
- name: Test (release)
working-directory: ./e2e_test
shell: bash
run: |
rm -rf target
deno run -A ../cli.ts --release=../target/release
../target/release/deno_bindgen -o bindings/mod.ts --release
deno test -A --unstable
- name: Bench
working-directory: ./e2e_test
shell: bash
run: deno bench -A --unstable
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ target/
example/Cargo.lock
bindings.json
.DS_Store
deno.lock
11 changes: 2 additions & 9 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
edition = "2021"
max_width = 80
tab_spaces = 2
unstable_features = true
condense_wildcard_suffixes = true
newline_style = "Unix"
use_field_init_shorthand = true
use_try_shorthand = true
imports_granularity = "Crate"
group_imports = "StdExternalCrate"
reorder_imports = true
edition = "2021"
imports_granularity = "Item"
Loading

0 comments on commit 92e57fb

Please sign in to comment.