automatic-mouse-mover/Makefile

29 lines
542 B
Makefile
Raw Permalink Normal View History

2019-03-27 23:09:54 +00:00
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
2019-03-28 01:01:45 +00:00
cp ./appInfo/*.icns ./bin/amm.app/Contents/Resources/icon.icns
2019-03-27 23:09:54 +00:00
go build -o ./bin/amm.app/Contents/MacOS/amm cmd/main.go
open: build
open ./bin
clean:
rm -rf ./bin
start:
2019-03-27 02:50:09 +00:00
go run cmd/main.go
test:
2019-03-27 23:09:54 +00:00
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