Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.

Commit

Permalink
Fixed up some more stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
torch2424 committed May 13, 2019
1 parent 01f4797 commit 744e731
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions assembly/wasa.ts
@@ -1,4 +1,5 @@
// THIS CODE IS FROM ANOTHER PROJECT!!!
// Slightly modified for specific uses
// https://github.com/jedisct1/wasa
// This is a slimmed down version of their code
// To help with module size, compilation errors,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -6,8 +6,8 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npm run asbuild:untouched && npm run asbuild:optimized",
"asbuild:untouched": "asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --validate --debug -u abort=wasiabort",
"asbuild:optimized": "asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap --validate --optimize"
"asbuild:untouched": "asc assembly/index.ts -b build/untouched.wasm -t build/untouched.wat --sourceMap --validate --debug --use abort=wasiabort",
"asbuild:optimized": "asc assembly/index.ts -b build/optimized.wasm -t build/optimized.wat --sourceMap --validate --optimize --use abort=wasiabort"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion wapm.lock
Expand Up @@ -8,7 +8,7 @@ package_name = "wasm-matrix"
source = "local"
resolved = "local"
abi = "none"
entry = "build/untouched.wasm"
entry = "build/optimized.wasm"
[commands.wasm-matrix]
name = "wasm-matrix"
package_name = "wasm-matrix"
Expand Down
2 changes: 1 addition & 1 deletion wapm.toml
Expand Up @@ -7,7 +7,7 @@ repository = "https://github.com/torch2424/wasm-matrix"

[[module]]
name = "wasm-matrix"
source = "build/untouched.wasm"
source = "build/optimized.wasm"
abi = "none"

[[command]]
Expand Down

0 comments on commit 744e731

Please sign in to comment.