mirror of
https://github.com/onyx-and-iris/xair-cli.git
synced 2026-04-08 18:03:37 +00:00
remove duplicate taskfiles
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
version: '3'
|
||||
|
||||
vars:
|
||||
WINDOWS: '{{.BIN_DIR}}/{{.PROGRAM}}_windows_amd64.exe'
|
||||
LINUX: '{{.BIN_DIR}}/{{.PROGRAM}}_linux_amd64'
|
||||
MACOS: '{{.BIN_DIR}}/{{.PROGRAM}}_darwin_amd64'
|
||||
|
||||
tasks:
|
||||
windows-amd64:
|
||||
desc: Build the xair-cli project for Windows
|
||||
cmds:
|
||||
- GOOS=windows GOARCH=amd64 go build -o {{.WINDOWS}} -ldflags="-X main.version={{.VERSION}}" ./cmd/{{.PROGRAM}}
|
||||
|
||||
linux-amd64:
|
||||
desc: Build the xair-cli project for Linux
|
||||
cmds:
|
||||
- GOOS=linux GOARCH=amd64 go build -o {{.LINUX}} -ldflags="-X main.version={{.VERSION}}" ./cmd/{{.PROGRAM}}
|
||||
|
||||
darwin-amd64:
|
||||
desc: Build the xair-cli project for macOS
|
||||
cmds:
|
||||
- GOOS=darwin GOARCH=amd64 go build -o {{.MACOS}} -ldflags="-X main.version={{.VERSION}}" ./cmd/{{.PROGRAM}}
|
||||
@@ -7,16 +7,16 @@ vars:
|
||||
|
||||
tasks:
|
||||
windows-amd64:
|
||||
desc: Build the x32-cli project for Windows
|
||||
desc: Build the project for Windows
|
||||
cmds:
|
||||
- GOOS=windows GOARCH=amd64 go build -o {{.WINDOWS}} -ldflags="-X main.version={{.VERSION}}" ./cmd/{{.PROGRAM}}
|
||||
|
||||
linux-amd64:
|
||||
desc: Build the x32-cli project for Linux
|
||||
desc: Build the project for Linux
|
||||
cmds:
|
||||
- GOOS=linux GOARCH=amd64 go build -o {{.LINUX}} -ldflags="-X main.version={{.VERSION}}" ./cmd/{{.PROGRAM}}
|
||||
|
||||
darwin-amd64:
|
||||
desc: Build the x32-cli project for macOS
|
||||
desc: Build the project for macOS
|
||||
cmds:
|
||||
- GOOS=darwin GOARCH=amd64 go build -o {{.MACOS}} -ldflags="-X main.version={{.VERSION}}" ./cmd/{{.PROGRAM}}
|
||||
@@ -2,12 +2,12 @@ version: '3'
|
||||
|
||||
includes:
|
||||
build-xair:
|
||||
taskfile: ./Taskfile.build-xair.yml
|
||||
taskfile: ./Taskfile.build.yml
|
||||
internal: true
|
||||
vars:
|
||||
PROGRAM: xair-cli
|
||||
build-x32:
|
||||
taskfile: ./Taskfile.build-x32.yml
|
||||
taskfile: ./Taskfile.build.yml
|
||||
internal: true
|
||||
vars:
|
||||
PROGRAM: x32-cli
|
||||
|
||||
Reference in New Issue
Block a user