Raku / toolchain-bikeshed

(ARCHIVE) Discussion area for the Raku toolchain
Artistic License 2.0
4 stars 7 forks source link

Platform-specific "depends" clause in META.info #3

Open azawawi opened 8 years ago

azawawi commented 8 years ago

On Unix-based platforms, LibraryMake will be used for building the shared library while on others (like windows) the bundled binary will be used. I need a way to declare such platform-specific dependency as below:

...
"depends-by-platform": {
  "win32" => [],
  "*"     => ["LibraryMake"]
},
...

If there is any hook or another way to do it, please advise.

FROGGS commented 8 years ago

:+1: To a way to get this done.

tonyooooooo commented 1 year ago

@ugexe didn't we do this in warthog a long time ago?