26 lines
273 B
Makefile
26 lines
273 B
Makefile
|
|
|
|
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
|