mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Compile the xtask target in release mode
This avoids having to compile serde(-derive) twice when doing a one off-compile. That was the main issue with parsing toml files from the xtask bundler, but with this change that's no longer an issue.
This commit is contained in:
@@ -1,2 +1,8 @@
|
||||
[alias]
|
||||
xtask = "run --package xtask --"
|
||||
# Building the xtask package in release mode is normally not necessary, but if
|
||||
# you're going to compile other plugins in release mode then you'd need to
|
||||
# recompile serde(-derive) because the xtask packages needs serde to parse the
|
||||
# `bundler.toml` config file. To avoid needing to compile these expensive crates
|
||||
# twice, we'll default to also running the xtask target in release mode.
|
||||
xtask = "run --package xtask --release --"
|
||||
xtask-debug = "run --package xtask --"
|
||||
|
||||
Reference in New Issue
Block a user