Skip to content

Commit

Permalink
feat: release build
Browse files Browse the repository at this point in the history
  • Loading branch information
ssoudan committed Aug 28, 2023
1 parent 981f0cf commit 16067ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM mcr.microsoft.com/devcontainers/base:bullseye

RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends build-essential pkg-config libssl-dev \
&& apt-get -y install --no-install-recommends build-essential pkg-config libssl-dev binaryen \
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
cargo test --all-targets --all-features
cargo clippy --all-targets --all-features -- -D warnings
cargo build
npm install
npm run build
npm install
npm run release
- name: Restore permissions
run: |
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"scripts": {
"release": "webpack -c webpack.config.js --mode production",
"build": "webpack",
"serve": "webpack serve"
},
Expand All @@ -16,4 +17,4 @@
"dependencies": {
"wasm-pack": "^0.11.0"
}
}
}

0 comments on commit 16067ef

Please sign in to comment.