mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
Fix argbash
This commit is contained in:
parent
060ecac067
commit
c065c8db07
1 changed files with 9 additions and 8 deletions
|
@ -6,22 +6,23 @@ versions:
|
||||||
github: matejak/argbash
|
github: matejak/argbash
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
gnu.org/bash: '>=3.0'
|
gnu.org/bash: '>=3'
|
||||||
|
gnu.org/autoconf: '*'
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
|
||||||
gnu.org/autoconf: '*'
|
|
||||||
script:
|
script:
|
||||||
- make install PREFIX={{prefix}}
|
- mkdir -p '{{prefix}}'
|
||||||
working-directory: resources
|
- cp -r bin src '{{prefix}}'
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/argbash
|
- bin/argbash
|
||||||
- bin/argbash-init
|
- bin/argbash-init
|
||||||
- bin/argbash-1to2
|
- bin/argbash-1to2
|
||||||
|
|
||||||
test:
|
test:
|
||||||
- argbash-init --pos positional-arg --opt option --opt-bool print minimal.m4
|
|
||||||
- cat minimal.m4 | grep 'This is just a script template'
|
|
||||||
- argbash --version | grep {{version}}
|
- argbash --version | grep {{version}}
|
||||||
- argbash --help | grep 'Argbash is an argument parser generator for Bash'
|
- argbash --help | grep 'Argbash is an argument parser generator for Bash'
|
||||||
|
- argbash-init --pos positional-arg --opt option --opt-bool print minimal.m4
|
||||||
|
- cat minimal.m4 | grep 'This is just a script template'
|
||||||
|
- argbash minimal.m4 -o minimal.sh
|
||||||
|
- ./minimal.sh --help | grep 'Usage:'
|
||||||
|
|
Loading…
Reference in a new issue