Attempt to fix build scripts
@@ -13,8 +13,10 @@ build:
number: 0
script:
- go run -mod=vendor build.go --enable-cgo
- - mv bin/* $PREFIX # [not win]
- - move bin\* %PREFIX% # [win]
+ - mkdir -p $PREFIX/bin # [not win]
+ - mv restic $PREFIX/bin/restic # [not win]
+ - mkdir -p %PREFIX%\bin # [win]
+ - mv restic.exe %PREFIX%\bin\restic.exe # [win]
requirements:
build:
- {{ compiler('go') }} 1.16
