☰
Debian Codegraph
@
1:6.18.1+dfsg-6
/
/
wasm
/
scripts
/
compile.static.sh
☽
☼
wasm/scripts/compile.static.sh
code
plain
raw
LGPL-2.1+
1986-2022 Csound Developers
debian/copyright
1
#!/usr/bin/env bash
2
3
nix-build -E '(with import <nixpkgs> {}; callPackage ./src/csound.nix { static = true; })' -o result --show-trace &&
4
if [ -d "./lib" ]; then
5
printf '%s\n' "Cleaning directory lib"
6
rm -rf "./lib"
7
fi &&
8
mkdir lib &&
9
cp ./result/lib/* lib &&
10
chmod 0600 lib/*