Skip to content

Commit

Permalink
created release build script
Browse files Browse the repository at this point in the history
  • Loading branch information
WeirdConstructor committed Jul 24, 2021
1 parent 22c8162 commit f747f4d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 26 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/target
/release
_attic
*.history
vst2/target/
Expand Down
13 changes: 13 additions & 0 deletions _build_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
mkdir -p release
rm release/hexosynth_jack
rm release/hexosynth_vst.so

cd jack_standalone
cargo build --release
cp target/release/hexosynth_jack ../release/
cd ..

cd vst2
cargo build --release
cp target/release/libhexosynth_vst.so ../release/hexosynth_vst.so
cd ..
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ pub fn init_hexosynth() -> (Matrix, NodeExecutor) {
.input(None, None, Some(0)));

let gain_p = NodeId::Amp(0).inp_param("gain").unwrap();
matrix.set_param(gain_p, gain_p.norm(0.09).into());
matrix.set_param(gain_p, gain_p.norm(0.06).into());

if let Err(e) = load_patch_from_file(&mut matrix, "init.hxy") {
println!("Error loading init.hxy: {:?}", e);
Expand Down
27 changes: 2 additions & 25 deletions vst2/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f747f4d

Please sign in to comment.