mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
929758b320
commit
7076663a24
1 changed files with 14 additions and 11 deletions
|
@ -15,20 +15,23 @@ dependencies:
|
|||
build:
|
||||
dependencies:
|
||||
go.dev: '*'
|
||||
script: |
|
||||
pushd sdk
|
||||
go mod download
|
||||
popd
|
||||
script:
|
||||
- run: go mod download
|
||||
working-directory: sdk
|
||||
|
||||
pushd pkg
|
||||
go mod download
|
||||
popd
|
||||
- run: go mod download
|
||||
working-directory: pkg
|
||||
|
||||
make build
|
||||
make install
|
||||
- run: |
|
||||
sed -i.bak -e 's/-ldflags "/-ldflags "-buildmode=pie /g' Makefile
|
||||
rm Makefile.bak
|
||||
if: linux
|
||||
|
||||
mkdir -p {{prefix}}/bin
|
||||
mv build/bin/pulumi* {{prefix}}/bin/
|
||||
- make build
|
||||
- make install
|
||||
|
||||
- mkdir -p {{prefix}}/bin
|
||||
- mv build/bin/pulumi* {{prefix}}/bin/
|
||||
|
||||
# Install shell completions
|
||||
# TODO: Doesn't work for zsh. Should it be left up to user?
|
||||
|
|
Loading…
Reference in a new issue