mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
+gohugo (#85)
This commit is contained in:
parent
b2897a173a
commit
7f9b67a3eb
1 changed files with 19 additions and 0 deletions
19
projects/gohugo.io/package.yml
Normal file
19
projects/gohugo.io/package.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/gohugoio/hugo/archive/v{{ version }}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: gohugoio/hugo
|
||||||
|
|
||||||
|
# TODO completion is available by running the command
|
||||||
|
|
||||||
|
build:
|
||||||
|
script: |
|
||||||
|
go build
|
||||||
|
mkdir -p "{{ prefix }}"/bin
|
||||||
|
mv hugo "{{ prefix }}"/bin
|
||||||
|
dependencies:
|
||||||
|
go.dev: ^1.18 # probs higher than is true
|
||||||
|
|
||||||
|
test:
|
||||||
|
hugo version
|
Loading…
Reference in a new issue