Skip to content

Commit

Permalink
fixed runtimes.json generation
Browse files Browse the repository at this point in the history
  • Loading branch information
msciabarra committed Sep 16, 2023
1 parent bd05bc7 commit 1d5fc81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ tasks:
build:
desc: build nuv locally
cmds:
- >
curl -sL https://raw.githubusercontent.com/nuvolaris/olaris/{{.BRANCH}}/runtimes.json
| jq '{"runtimes": .runtimes}' >runtimes.json
- go build {{.DEBUG}} -ldflags "-X main.NuvVersion={{.VERSION}} -X main.NuvBranch={{.BRANCH}}" -o bin/nuv
sources:
- "*.go"
Expand Down Expand Up @@ -67,9 +70,6 @@ tasks:
test:
desc: tests all
cmds:
- >
curl -sL https://raw.githubusercontent.com/nuvolaris/olaris/{{.BRANCH}}/runtimes.json
| jq '{"runtimes": .runtimes}' >runtimes.json
- task: install
- task: utest
- task: itest
Expand All @@ -88,7 +88,7 @@ tasks:
- bats/bin/bats .

clean:
- rm -f bin/nuv
- rm -f bin/nuv runtimes.json
- go clean -cache -modcache

rebuild:
Expand Down

0 comments on commit 1d5fc81

Please sign in to comment.