Run functions inside Swift files. For more information about Archery itself head to vknabel/Archery.
name: SupercoolProject
version: 1.0.0
scripts:
release:
arrow: "vknabel/BeakArrow"
path: Scripts/beak.swift
function: release
All parameters will be passed to your script.
$ archery release
# Will execute the release function within Scripts/beak.swift
Name | Type | Default |
---|---|---|
mode | String? |
run if not part of arguments |
path | String? |
beak.swift |
function | String? |
None. Will print available functions. |
cachePath | String? |
.archery/beak |
- Valentin Knabel, @vknabel, dev@vknabel.com, @vknabel on Twitter