Skip to content

Commit

Permalink
Remove docker
Browse files Browse the repository at this point in the history
  • Loading branch information
surma committed Oct 1, 2019
1 parent 7e44809 commit 8574806
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/bin/bash

curl -L https://github.com/WebAssembly/wabt/releases/download/1.0.12/wabt-1.0.12-linux.tar.gz | tar -xz -C /opt -f -
mkdir wabt
curl -L https://github.com/WebAssembly/wabt/releases/download/1.0.12/wabt-1.0.12-linux.tar.gz | tar -xz -C ./wabt

export PATH=$(echo /opt/wabt-*)/:$PATH
export PATH=$(echo $PWD/wabt/wabt-*)/:$PATH

cd /usr/src
npm i
npm run build:website
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build:readme": "node --experimental-modules ./render-readme.mjs",
"build": "npm run build:library && npm run build:readme && npm run fmt",
"build:website": "npm run build && node genwebsite.js",
"build:website:docker": "docker run -ti --rm -v `pwd`:/usr/src node:12 ./build.sh",
"build:website:netlify": "./build.sh",
"fmt": "prettier --write ./{,{src,rollup-plugins}/**/}*.{mjs,js,md}"
},
"repository": "GoogleChromeLabs/wasm-feature-detect",
Expand Down

0 comments on commit 8574806

Please sign in to comment.