mirror of
https://github.com/ivabus/pantry
synced 2024-11-12 19:45:19 +03:00
parent
51ab03e0a2
commit
236f8dede3
|
@ -1,10 +1,9 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: https://github.com/a-h/templ/archive/refs/tags/v{{version}}.tar.gz
|
url: https://github.com/a-h/templ/archive/refs/tags/{{version.tag}}.tar.gz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
github: a-h/templ
|
github: a-h/templ
|
||||||
strip: /^v/
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -16,9 +15,8 @@ build:
|
||||||
- -w
|
- -w
|
||||||
- -s
|
- -s
|
||||||
script:
|
script:
|
||||||
- go build -v -ldflags="$LDFLAGS" -o templ ./cmd/templ
|
- echo -n {{ version }} >.version
|
||||||
- mkdir -p "{{ prefix }}"/bin
|
- go build -v -ldflags="$LDFLAGS" -o "{{ prefix }}"/bin/templ ./cmd/templ
|
||||||
- mv templ "{{ prefix }}"/bin
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/templ
|
- bin/templ
|
||||||
|
|
Loading…
Reference in a new issue