Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only compile octasine package with cargo xtask #182

Merged
merged 1 commit into from
Mar 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
echo "SDKROOT=$SDKROOT"
export MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version)
echo "MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET"
cargo xtask bundle-universal octasine --release --verbose --features "vst2"
cargo xtask bundle-universal octasine --release --verbose --features "clap"
cargo xtask bundle-universal -p octasine --release --verbose --features "vst2"
cargo xtask bundle-universal -p octasine --release --verbose --features "clap"
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
shell: bash
Expand Down Expand Up @@ -93,10 +93,10 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1

- name: Build and bundle plugin (VST2)
run: cargo xtask bundle octasine --release --verbose --features "vst2"
run: cargo xtask bundle -p octasine --release --verbose --features "vst2"

- name: Build and bundle plugin (clap)
run: cargo xtask bundle octasine --release --verbose --features "clap"
run: cargo xtask bundle -p octasine --release --verbose --features "clap"

- name: Install cargo-about
run: cargo install --debug --locked cargo-about
Expand Down Expand Up @@ -145,10 +145,10 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: Build and bundle plugin (VST2)
run: cargo xtask bundle octasine --release --verbose --features "vst2"
run: cargo xtask bundle -p octasine --release --verbose --features "vst2"

- name: Build and bundle plugin (clap)
run: cargo xtask bundle octasine --release --verbose --features "clap"
run: cargo xtask bundle -p octasine --release --verbose --features "clap"

- name: Install cargo-about
run: cargo install --debug --locked cargo-about
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ git checkout tags/v0.9.0
* Build and install the plugin:

```cmd
cargo xtask bundle octasine --release --features "vst2"
cargo xtask bundle octasine --release --features "clap"
cargo xtask bundle -p octasine --release --features "vst2"
cargo xtask bundle -p octasine --release --features "clap"
```

* Copy `target\bundled\octasine.dll` to your VST plugin folder.
Expand Down Expand Up @@ -138,8 +138,8 @@ git checkout tags/v0.9.0
* Build and install the plugin

```sh
cargo xtask bundle octasine --release --features "vst2"
cargo xtask bundle octasine --release --features "clap"
cargo xtask bundle -p octasine --release --features "vst2"
cargo xtask bundle -p octasine --release --features "clap"
```

* Copy `target/bundled/octasine.so` to your VST plugin folder
Expand Down
2 changes: 1 addition & 1 deletion scripts/macos/build-clap-and-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

set -e

cargo xtask bundle octasine --profile "release-debug" --features "clap"
cargo xtask bundle -p octasine --profile "release-debug" --features "clap"

TARGET="/Library/Audio/Plug-Ins/CLAP/OctaSine.clap"

Expand Down
2 changes: 1 addition & 1 deletion scripts/macos/build-vst2-and-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

set -e

cargo xtask bundle octasine --profile "release-debug" --features "vst2"
cargo xtask bundle -p octasine --profile "release-debug" --features "vst2"

TARGET="/Library/Audio/Plug-Ins/VST/OctaSine.vst"

Expand Down