mirror of
https://github.com/prashantgupta24/automatic-mouse-mover.git
synced 2024-12-22 08:24:11 +00:00
29 lines
542 B
Makefile
29 lines
542 B
Makefile
all: open
|
|
|
|
build: clean
|
|
mkdir -p -v ./bin/amm.app/Contents/Resources
|
|
mkdir -p -v ./bin/amm.app/Contents/MacOS
|
|
cp ./appInfo/*.plist ./bin/amm.app/Contents/Info.plist
|
|
cp ./appInfo/*.icns ./bin/amm.app/Contents/Resources/icon.icns
|
|
go build -o ./bin/amm.app/Contents/MacOS/amm cmd/main.go
|
|
|
|
open: build
|
|
open ./bin
|
|
|
|
clean:
|
|
rm -rf ./bin
|
|
|
|
start:
|
|
go run cmd/main.go
|
|
|
|
test:
|
|
go test -v -race -failfast ./...
|
|
|
|
vet:
|
|
go vet $(shell glide nv)
|
|
|
|
lint:
|
|
go list ./... | grep -v vendor | xargs -L1 golint -set_exit_status
|
|
|
|
.PHONY: build
|
|
.PHONY: clean |