Skip to content

Commit 7976f7d

Browse files
author
Ivan Dlugos
committed
add make reinstall command
1 parent 6661986 commit 7976f7d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ all: depend build
1313
build: ## Build all targets
1414
CGO_ENABLED=1 go build ./cmd/objectbox-generator/
1515

16+
reinstall: build ## Update installed objectbox-generator
17+
mv objectbox-generator "$(shell which objectbox-generator)"
18+
1619
test: ## Test all targets
1720
go test -timeout 1h ./...
1821

0 commit comments

Comments
 (0)