blob: d1b3232d99c4c7f6e8559c22944868c8ad3f23d4 (
plain) (
tree)
|
|
# SPDX-License-Identifier: ISC
# Copyright © 2022 siddharth ravikumar <s@ricketyspace.net>
MOD=ricketyspace.net/peach
PKGS=${MOD}/cache ${MOD}/client ${MOD}/nws ${MOD}/photon
CSS=static/peach.min.css
peach: fix fmt ${CSS}
go build ${BUILD_OPTS}
fmt:
go fmt ${MOD} ${PKGS}
.PHONY: fmt
fix:
go fix ${MOD} ${PKGS}
.PHONY: fix
test:
go test ${PKGS} ${ARGS}
.PHONY: test
${CSS}: static/peach.css
./bin/minify
clean:
go clean
.PHONY: clean
|