Robbert van der Helm
fa7f9fd85b
Provide a cargo subcommand for NIH-plug's bundler
2022-03-02 10:27:55 +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
Robbert van der Helm
199deb887c
Fix CLAP bundle name on macOS
2022-02-28 15:57:45 +01:00
Robbert van der Helm
7e505ff09b
Export CLAP plugins from bundler
2022-02-28 15:34:11 +01:00
Robbert van der Helm
ab30b7dc9d
Don't filter ELF exports by functions
...
Since we export a constant for CLAP.
2022-02-28 15:17:04 +01:00
Robbert van der Helm
f0504ed59a
Rework the bundler to use a CompilationTarget enum
...
This removes a lot of redundancy.
2022-02-28 15:06:36 +01:00
Robbert van der Helm
9d137fe813
Use reflinks when supported
2022-02-27 01:06:45 +01:00
Robbert van der Helm
7fb1547f95
Fix Info.plist location after 72c3e00
2022-02-26 21:00:25 +01:00
Robbert van der Helm
a8f66af147
Fix exported symbol detection on macOS
...
Apparently all exported symbols in Mach-O are prefixed with an
underscore.
2022-02-26 20:55:33 +01:00
Robbert van der Helm
e4e0fd2da2
Allow bundling multiple packages at once
2022-02-26 20:40:53 +01:00
Robbert van der Helm
70378be6e9
Replace --bundle-vst3 with export detection
...
We'll need this for when we support other plugin formats.
2022-02-26 20:12:08 +01:00
Robbert van der Helm
72c3e00510
Create plugin bundles in target/bundled
...
It's going to get a bit crowded otherwise once we add more formats.
2022-02-26 20:04:41 +01:00
Robbert van der Helm
d39ebb5b51
Add a bundler module for parsing exported symbols
...
We can use this to detect which plugin formats are supported by a
plugin. Otherwise the bundler would be very awkward to use when
supporting multiple formats.
2022-02-26 20:00:32 +01:00
Robbert van der Helm
c5c966c0cc
Avoid awk on macOS
...
I was hoping they'd have gawk installed, but I guess not.
2022-02-16 13:34:20 +01:00
Robbert van der Helm
b0a7b7402e
Create a proper macOS bundle
...
At least, I think that's what this is.
2022-02-16 00:37:12 +01:00
Robbert van der Helm
95446cb2bf
Allow specifying custom names for bundles
2022-02-15 22:28:15 +01:00
Robbert van der Helm
a83cbf8aca
Support cross compiling in xtask bundle
2022-02-10 20:44:47 +01:00
Robbert van der Helm
df1bc2b429
Fix the printed VST3 bundle path
2022-02-06 01:35:12 +01:00
Robbert van der Helm
4c0031d7b3
Fix clippy lints
2022-02-04 18:42:42 +01:00
Robbert van der Helm
69db1acce8
Propagate build errors in xtask bundle
2022-02-02 15:00:02 +01:00
Robbert van der Helm
29d110aee7
Fix path for VST3 bundle creation
2022-01-30 00:24:44 +01:00
Robbert van der Helm
2a1fdb5d9f
Add a blank newline, because aesthetics
2022-01-29 18:43:07 +01:00
Robbert van der Helm
3019f7aea6
Add a way to create VST3 bundles after building
2022-01-29 18:38:09 +01:00
Robbert van der Helm
46cd75ec53
Add an xtask binary target for running tasks
2022-01-29 17:31:51 +01:00