Build into a bin directory

pull/3/head
lawl 4 years ago
parent 737ea6b424
commit 9015c0332e

2
.gitignore vendored

@ -1,2 +1,2 @@
noisetorch
bin/
librnnoise.go

@ -1,12 +1,14 @@
dev: rnnoise
mkdir bin/
go generate
go build
go build -o bin/noisetorch
release: rnnoise
go generate
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-s -w -extldflags "-static"' .
upx noisetorch
tar cvzf NoiseTorch_x64.tgz noisetorch
rm noisetorch
mv NoiseTorch_x64.tgz bin/
rnnoise:
cd librnnoise_ladspa/; \
cmake . -DBUILD_VST_PLUGIN=OFF -DBUILD_LV2_PLUGIN=OFF -DBUILD_LADSPA_PLUGIN=ON; \

Loading…
Cancel
Save