tempestas

A REST API for processing sensor.community data
git clone https://git.bracken.jp/tempestas.git
Log | Files | Refs | README | LICENSE

commit a9c7f42d0d3b600e23b169b94dc32ce618ad3420
parent 5c2cff6ac55f62a6f88b7221718424ada6d1ff3f
Author: Chris Bracken <chris@bracken.jp>
Date:   Tue, 12 Apr 2022 09:48:03 -0700

Add Makefile

Diffstat:
AMakefile | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -0,0 +1,19 @@ +.POSIX: + +INSTALL_PATH=/usr/local/bin +ASSET_PATH=/usr/local/share/tempestas/www +RC_PATH=/usr/local/etc/rc.d + +build: + go build + +clean: + rm tempestas + +install: + cp tempestas "$(INSTALL_PATH)/" + mkdir -p "$(ASSET_PATH)" + cp -r static/* "$(ASSET_PATH)/" + cp etc/rc.d/tempestas "$(RC_PATH)/" + +.PHONY: build clean install