mirror of https://github.com/q191201771/lal.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
433 B
Makefile
29 lines
433 B
Makefile
.PHONY: build
|
|
build: deps
|
|
./build.sh
|
|
|
|
.PHONY: build_for_linux
|
|
build_for_linux: deps
|
|
./build_for_linux.sh
|
|
|
|
.PHONY: test
|
|
test: deps
|
|
./test.sh
|
|
|
|
.PHONY: deps
|
|
deps:
|
|
go get -t -v ./...
|
|
|
|
.PHONY: image
|
|
image:
|
|
docker build -f Dockerfile -t lal:latest .
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf ./bin ./lal_record ./logs coverage.txt
|
|
find ./pkg -name 'lal_record' | xargs rm -rf
|
|
find ./pkg -name 'logs' | xargs rm -rf
|
|
|
|
.PHONY: all
|
|
all: build test
|