mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
51ab03e0a2
commit
236f8dede3
1 changed files with 3 additions and 5 deletions
|
@ -1,10 +1,9 @@
|
|||
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
|
||||
|
||||
versions:
|
||||
github: a-h/templ
|
||||
strip: /^v/
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
|
@ -16,9 +15,8 @@ build:
|
|||
- -w
|
||||
- -s
|
||||
script:
|
||||
- go build -v -ldflags="$LDFLAGS" -o templ ./cmd/templ
|
||||
- mkdir -p "{{ prefix }}"/bin
|
||||
- mv templ "{{ prefix }}"/bin
|
||||
- echo -n {{ version }} >.version
|
||||
- go build -v -ldflags="$LDFLAGS" -o "{{ prefix }}"/bin/templ ./cmd/templ
|
||||
|
||||
provides:
|
||||
- bin/templ
|
||||
|
|
Loading…
Reference in a new issue