go-susapp/Makefile

26 lines
273 B
Makefile
Raw Permalink Normal View History

2021-09-12 00:25:10 +01:00
all:
make build-main
build-main:
mkdir -p dist/ && go build -o dist/susapp .
package:
./scripts/package-susapp.sh
deb:
make clean && \
make all && \
make package
clean:
rm -rf dist/ && \
rm -rf package/
.PHONY: run
run:
make && \
cd ./dist/ && \
./susapp