summaryrefslogtreecommitdiff
path: root/Taskfile.yaml
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-10-31 20:13:32 +0200
committerPaul Buetow <paul@buetow.org>2025-10-31 20:13:32 +0200
commit11eea6a82cbfdde40ec1457c6ea080da4da6b7dc (patch)
tree8026068f6a3beb3ee02c45f06f4487f4b89caaf1 /Taskfile.yaml
parent5c3e0b5cf99d028c4f06be7a825388b296e37a22 (diff)
feat: implement amp AI tool support and replace Taskfile with Magev0.10.0
- Add amp as default AI tool for release notes and showcase generation - Fallback chain: amp → hexai → claude → aichat - Replace Taskfile.yaml with magefile.go for build automation - Update all documentation (README.md, AGENTS.md, doc/development.md) - Update version to 0.10.0 Amp-Thread-ID: https://ampcode.com/threads/T-735ba1e2-0255-4b43-8ed1-6c0d2f78301b Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'Taskfile.yaml')
-rw-r--r--Taskfile.yaml94
1 files changed, 0 insertions, 94 deletions
diff --git a/Taskfile.yaml b/Taskfile.yaml
deleted file mode 100644
index 94a968b..0000000
--- a/Taskfile.yaml
+++ /dev/null
@@ -1,94 +0,0 @@
-version: '3'
-
-vars:
- BINARY_NAME: gitsyncer
- BUILD_DIR: .
- CMD_PATH: ./cmd/gitsyncer
- LDFLAGS: -s -w
-
-tasks:
- default:
- desc: Build the gitsyncer binary
- cmds:
- - go build -ldflags "{{.LDFLAGS}}" -o {{.BUILD_DIR}}/{{.BINARY_NAME}} {{.CMD_PATH}}
-
- build:
- desc: Build the gitsyncer binary
- cmds:
- - go build -ldflags "{{.LDFLAGS}}" -o {{.BUILD_DIR}}/{{.BINARY_NAME}} {{.CMD_PATH}}
-
- build-all:
- desc: Build for all supported platforms
- cmds:
- - task: build-linux
- - task: build-darwin
- - task: build-windows
-
- build-linux:
- desc: Build for Linux
- cmds:
- - GOOS=linux GOARCH=amd64 go build -ldflags "{{.LDFLAGS}}" -o {{.BUILD_DIR}}/{{.BINARY_NAME}}-linux-amd64 {{.CMD_PATH}}
-
- build-darwin:
- desc: Build for macOS
- cmds:
- - GOOS=darwin GOARCH=amd64 go build -ldflags "{{.LDFLAGS}}" -o {{.BUILD_DIR}}/{{.BINARY_NAME}}-darwin-amd64 {{.CMD_PATH}}
- - GOOS=darwin GOARCH=arm64 go build -ldflags "{{.LDFLAGS}}" -o {{.BUILD_DIR}}/{{.BINARY_NAME}}-darwin-arm64 {{.CMD_PATH}}
-
- build-windows:
- desc: Build for Windows
- cmds:
- - GOOS=windows GOARCH=amd64 go build -ldflags "{{.LDFLAGS}}" -o {{.BUILD_DIR}}/{{.BINARY_NAME}}-windows-amd64.exe {{.CMD_PATH}}
-
- run:
- desc: Build and run the gitsyncer binary
- cmds:
- - task: build
- - ./{{.BINARY_NAME}}
-
- test:
- desc: Run tests
- cmds:
- - go test ./...
-
- test-verbose:
- desc: Run tests with verbose output
- cmds:
- - go test -v ./...
-
- clean:
- desc: Clean build artifacts
- cmds:
- - rm -f {{.BINARY_NAME}}
- - rm -f {{.BINARY_NAME}}-*
-
- mod-tidy:
- desc: Tidy go modules
- cmds:
- - go mod tidy
-
- fmt:
- desc: Format Go code
- cmds:
- - go fmt ./...
-
- vet:
- desc: Run go vet
- cmds:
- - go vet ./...
-
- lint:
- desc: Run golangci-lint
- cmds:
- - golangci-lint run
-
- install:
- desc: Install gitsyncer to $GOPATH/bin
- cmds:
- - go install {{.CMD_PATH}}
-
- version:
- desc: Show version
- deps: [build]
- cmds:
- - ./{{.BINARY_NAME}} --version \ No newline at end of file