1
0
Fork 0
Commit graph

28 commits

Author SHA1 Message Date
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 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 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 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