Skip to content

Commit 433680a

Browse files
committed
Use newest Javy
1 parent f4a9074 commit 433680a

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ out.js
33
*.wasm
44
javy
55
tests
6-
/javy-x86_64-linux-v1.2.0
7-
/javy-x86_64-linux-v1.2.0.gz
6+
/javy-x86_64-linux-*
87
/bin/javy

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
generate: examples/plugin.wasm examples/sqlc.dev.yaml
44
cd examples && sqlc -f sqlc.dev.yaml generate
55

6-
# https://github.com/bytecodealliance/javy/releases/tag/v1.2.0
6+
# https://github.com/bytecodealliance/javy/releases/tag/v7.0.1
77
examples/plugin.wasm: out.js bin/javy
8-
./bin/javy compile out.js -o examples/plugin.wasm
8+
./bin/javy build out.js -o examples/plugin.wasm
99

1010
out.js: src/app.ts $(wildcard src/drivers/*.ts) src/gen/plugin/codegen_pb.ts node_modules
1111
npx tsc --noEmit
@@ -18,12 +18,12 @@ node_modules: package.json package-lock.json
1818
npm install
1919

2020
bin/javy:
21-
wget https://github.com/bytecodealliance/javy/releases/download/v1.2.0/javy-x86_64-linux-v1.2.0.gz
22-
gunzip --force javy-x86_64-linux-v1.2.0.gz
23-
install -Dpv javy-x86_64-linux-v1.2.0 bin/javy
21+
wget https://github.com/bytecodealliance/javy/releases/download/v7.0.1/javy-x86_64-linux-v7.0.1.gz
22+
gunzip --force javy-x86_64-linux-v7.0.1.gz
23+
install -Dpv javy-x86_64-linux-v7.0.1 bin/javy
2424

2525
clean:
2626
$(RM) -r out.js
2727
$(RM) -r examples/plugin.wasm
2828
$(RM) -r node_modules
29-
$(RM) -r bin/javy javy-x86_64-linux-v1.2.0 javy-x86_64-linux-v1.2.0.gz
29+
$(RM) -r bin/javy javy-x86_64-linux-v7.0.1 javy-x86_64-linux-v7.0.1.gz

0 commit comments

Comments
 (0)