Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new CLI, stateless macro and struct redesign #136

Merged
merged 15 commits into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading