generated from blacktop/go-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
32 lines (27 loc) · 809 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.PHONY: bump
bump:
@echo "🚀 Bumping Version"
git tag $(shell svu patch)
git push --tags
.PHONY: build
build:
@echo "🚀 Building Version $(shell svu current)"
go build -o fluxy main.go
.PHONY: release
release:
@echo "🚀 Releasing Version $(shell svu current)"
goreleaser build --id default --clean --snapshot --single-target --output dist/fluxy
.PHONY: work-termimg
work-termimg: ## Work on go-termimg package
@echo " > Working on go-termimg package"
@go work init
@go work use . ../go-termimg
.PHONY: work-clean
work-clean: ## Clean up go work
@echo " > 🧼 Clean go.work"
@rm go.work || true
@rm go.work.sum || true
.PHONY: debug
debug: ## Debug in another terminal
@echo " > Debugging"
@dlv debug --headless --listen=:2345 --api-version=2 main.go -- --model schnell --output test