This repository has been archived by the owner on Jan 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix buffer not found error plus cleanup compile script
- Loading branch information
Showing
11 changed files
with
37 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
|
||
nix build '(with import <nixpkgs> {}; import ./nix/native/compile.nix)' -o result_compile && | ||
if [ -d "./lib" ]; then | ||
printf '%s\n' "Cleaning directory lib" | ||
rm -rf "./lib" | ||
fi && | ||
mkdir lib && | ||
cp ./result_compile/* lib && | ||
chmod 0600 lib/* | ||
|
||
printf '%s\n' "wasm binary ready in ./lib" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "csound-wasm", | ||
"version": "6.14.0-alpha17", | ||
"version": "6.14.0-alpha20", | ||
"author": "Hlödver Sigurdsson <[email protected]>", | ||
"license": "LGPL-3.0", | ||
"main": "./dist/libcsound.mjs", | ||
|
@@ -15,11 +15,9 @@ | |
"wasi" | ||
], | ||
"scripts": { | ||
"compile": "nix build '(with import <nixpkgs> {}; import ./nix/native/compile.nix)' -o lib", | ||
"compile:debug": "nix-shell nix/native/compile.nix --arg debug true", | ||
"compile:dev": "nix-shell nix/compile.nix --arg debug true --arg dev true", | ||
"compile": "bash compile.sh", | ||
"lint": "eslint 'src/**/*.js'", | ||
"build": "nix build '(with import <nixpkgs> {}; import ./nix/nodejs/build.nix)' -o dist" | ||
"build": "rollup -c" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-alias": "^3.1.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters