Skip to content

Commit

Permalink
fix: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
aaharu committed Sep 14, 2022
1 parent 644ed78 commit 7cbc994
Show file tree
Hide file tree
Showing 4 changed files with 490 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ To build gifken, following tools are required
git clone *thisrepo*
cd gifken
npm install
npm run-script build
npm run build
```

## Similar Projects
Expand Down
2 changes: 1 addition & 1 deletion crate/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"scripts": {
"build": "npm run build:cargo & npm run build:bindgen:web & npm run build:bindgen:nodejs",
"build": "run-s build:cargo build:bindgen:web build:bindgen:nodejs",
"build:cargo": "cargo build --release --target wasm32-unknown-unknown",
"build:bindgen:web": "wasm-bindgen --out-dir web --target web ./target/wasm32-unknown-unknown/release/gifken.wasm",
"build:bindgen:nodejs": "wasm-bindgen --out-dir nodejs --target nodejs ./target/wasm32-unknown-unknown/release/gifken.wasm"
Expand Down
Loading

0 comments on commit 7cbc994

Please sign in to comment.