1
0
Fork 0
Commit graph

42 commits

Author SHA1 Message Date
Alex Janka f872aa2a9c get build plan 2024-10-23 13:07:03 +11:00
Robbert van der Helm bb274976ca Parse target dir location from cargo metadata 2024-03-23 11:51:11 +01:00
aimixsaka 7b228c3a25 Add initial compilation support for RISC V 2023-12-30 14:05:44 +01:00
Robbert van der Helm 9db31b34dc Fix formatting for #68 2023-03-27 13:24:43 +02:00
Alex Charlton 0f7d9827d8 Add a hint to failed builds 2023-03-26 22:59:28 -07:00
Robbert van der Helm 2dc0b48f73 Update the nih_plug_xtask dependencies 2023-03-01 23:23:04 +01:00
AkiyukiOkayasu 8984b3a080 Fix typo in error message 2023-01-25 18:58:34 +01:00
AkiyukiOkayasu 4710158f07 Fix some typos in comments 2023-01-25 18:58:34 +01:00
Robbert van der Helm 4b2ba9de12 Self-sign all produced bundles on macOS
This apparently may be needed on new macOS versions and/or AArch64 macOS.
2023-01-15 02:31:16 +01:00
Robbert van der Helm dfeb8164ca Fix new Clippy lints 2023-01-06 16:13:01 +01:00
Robbert van der Helm 15ce644dec Clarify ancestor usage in workspace detection 2022-11-13 18:36:52 +01:00
Robbert van der Helm 08ddd9c42a For cargo_nih_plug workspace root detection
This is a lot simpler now and it simply considers the topmost ancestor
directory of either `$CARGO_MANIFEST_DIR` or the current working
directory containing a `Cargo.toml` file.
2022-11-13 18:33:15 +01:00
Robbert van der Helm e8002730a0 Fix clippy lints 2022-11-05 14:19:47 +01:00
Robbert van der Helm 45b609791d Create bundle metadata for universal binaries 2022-09-15 13:28:26 +02:00
Robbert van der Helm 0475c7000b Add support for building universal macOS binaries
This resolves #17.
2022-09-15 03:48:12 +02:00
Robbert van der Helm 374dfc9052 Clarify you can pass other options to xtask 2022-09-14 15:11:04 +02:00
Robbert van der Helm 5faed9e2e7 Remove files before reflinking in xtask bundle
Otherwise the reflink will fail, and apparently the fallback copy also
doesn't always work correctly on macOS.

This fixes #26.
2022-09-02 14:25:57 +02:00
Robbert van der Helm 0168af7008 Fix terminology in workspace root detection 2022-07-19 00:21:50 +02:00
Robbert van der Helm ae8c78c5e5 Change new workspace root finding error message
Not finding a parent Cargo.toml file should have a different error
message than the environment variable being empty.
2022-07-19 00:21:50 +02:00
Brian Anderson 59be30205a Make xtask search for workspace more robust 2022-07-19 00:21:50 +02:00
Robbert van der Helm 24d499e716 Fix typos in nih_plug_xtask's readme 2022-07-03 19:49:20 +02:00
Robbert van der Helm 285f831e77 Potentially correct value for CFBundleExecutable
Some plugins would load, others didn't, and I think the ones with spaces
didn't so this might be why.
2022-06-17 11:27:48 +02:00
Robbert van der Helm 199305c413 Fix reflink sometimes removing executable bit
Or, well, work around it.
2022-06-15 00:10:27 +02:00
Autumn Meadow 7e711742d8
fix typoed AArch64 as ARM64 2022-06-04 23:56:33 -07:00
Robbert van der Helm ed9ee2c188 Add missing .git suffixes for GitHub VCS deps 2022-05-24 15:24:33 +02:00
Robbert van der Helm 3650311db8 Support custom Cargo profiles in xtask bundle 2022-05-22 20:22:39 +02:00
Robbert van der Helm aa7666dfc5 Use the correct MacOS bundle type for binaries 2022-04-24 15:48:05 +02:00
Robbert van der Helm 6a6e7e0992 Use bundler.toml display name in MacOS bundles 2022-04-24 15:48:05 +02:00
Robbert van der Helm 7c121d0181 Bundle standalone binaries in xtask bundle 2022-04-24 15:48:05 +02:00
Robbert van der Helm f3db4a9ed0 Add a (not yet functional) standalone exporter 2022-04-24 15:48:05 +02:00
Robbert van der Helm bee82bdefb Use IntoIterator for custom xtask args
So you wouldn't need to call `.into_iter()` first if you pass an array
or something.
2022-04-24 15:48:05 +02:00
Robbert van der Helm 7ce86cc788 Handle packages with dashes in bundler 2022-04-11 20:46:51 +02:00
Robbert van der Helm cf05ca10f8 Handle AArch64 and more cross compilation targets
In the bundler.
2022-04-05 04:12:26 +02:00
Robbert van der Helm dd8a2d65c0 Add error message to CARGO_MANIFEST_DIR handling
Since this is now no longer enforced at compile time. #6
2022-03-26 13:22:15 +01:00
hatoo 48813becb3 Fix chdir_workspace_root()
Fixed to get $CARGO_MANIFEST_DIR in runtime instead of compile time
2022-03-26 16:02:02 +09:00
Robbert van der Helm 3be99f4e8e Split up building and bunding for parallel builds
This helps a lot when using the -p option to bundle multiple packages.
2022-03-08 11:50:36 +01:00
Robbert van der Helm f581294d7b Update rustdoc formatting for links
Apparently it showed this text verbatim, and not in monospace.
2022-03-03 23:05:12 +01:00
Robbert van der Helm 66012f9787 Update the bundler xtask and cargo subcommand docs 2022-03-02 11:19:35 +01:00
Robbert van der Helm 85ea65c080 Fix command name in cargo nih-plug usage string 2022-03-02 10:34:50 +01:00
Robbert van der Helm bfe93f8d90 Allow invoking the xtask library with custom args
Useful when providing a cargo sub command.
2022-03-02 10:19:53 +01:00
Robbert van der Helm 4e9f64f494 Add bundler support for VST2 plugins 2022-03-02 10:07:39 +01:00
Robbert van der Helm 8e0597b780 Move the xtask binary to a library
So you can use it in your own projects with minimal copying and pasting.
2022-03-02 10:02:03 +01:00