Declare all your project's metadata and what you can do with it in one single place.
$ARCHERY
invocations will now prefer $ARCHERY_METADATA
instead of parsing the Archerfile againinit
commandA different overview can be found at vknabel.com/pages/Archery-0-3-0-released.
ARCHERY
, ARCHERY_METADATA
, ARCHERY_SCRIPT
, ARCHERY_API_LEVEL
, ARCHERY_LEGACY_MINT_PATH
.do-all: [first, second, third]
vknabel/ArcheryArrow
implicitly uses the new scripting API and does not require compilation anymore.arrow: vknabel/ArcheryArrow
arrow: vknabel/BashArrow
anymore.vknabel/BashArrow
implicitly uses the new scripting API and does not require compilation anymore.arrow
-script type will be deprecated and will be removed in far future.Previously all scripts were defined as arrow: a separate Swift Package accepting specific arguments, being installed using Mint. This mechanism is now deprecated and will be replaced by plain scripts and environment variables.
Please note the arrow-shorthand syntax script-name: your/Arrow
deprecated in version 0.2.1 is still available and has not been removed yet.
vknabel/BashArrow
commandsCurrently when passing a named string as a script, it will be expanded as arrow: your/Arrow
.
The new behavior will run the provided string as a command line script as arrow: BashArrow
and command: your script
.
Until the next breaking update, repo names will still work as previously.
All strings containing exactly one /
, no space and which do not start with a .
, will still be treated as arrow.
scripts:
# Deprecated shorthand
example: "vknabel/BeakArrow" # this would run the arrow
# New behavior
format: "swiftformat ." # this would run a `vknabel/BashArrow` command