mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
25 lines
586 B
YAML
25 lines
586 B
YAML
|
distributable:
|
||
|
url: https://github.com/vburenin/ifacemaker/archive/v{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
versions:
|
||
|
github: vburenin/ifacemaker/tags
|
||
|
build:
|
||
|
dependencies:
|
||
|
go.dev: '*'
|
||
|
script:
|
||
|
- go build $ARGS -ldflags="$LDFLAGS"
|
||
|
env:
|
||
|
ARGS:
|
||
|
- -trimpath
|
||
|
- -o={{prefix}}/bin/ifacemaker
|
||
|
LDFLAGS:
|
||
|
- -s
|
||
|
- -w
|
||
|
provides:
|
||
|
- bin/ifacemaker
|
||
|
test:
|
||
|
script: |
|
||
|
ifacemaker -f human.go -s Human -i HumanIface -p humantest \
|
||
|
-y "HumanIface makes human interaction easy" \
|
||
|
-c "DONT EDIT: Auto generated" | grep "type HumanIface interface"
|