Landing page for salty.im a open specification for a new Saltpack based e2e encrypted messaging protocol and platform for secure communications with a focus on privacy, security and being self-hosted. https://salty.im/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
salty.im/Makefile

33 lines
635 B

-include environ.inc
.PHONY: deps dev build install image release test clean
GOCMD=go
all: build
deps:
@$(GOCMD) install git.mills.io/prologic/zs@latest
@$(GOCMD) install git.mills.io/prologic/static@latest
dev : DEBUG=1
dev : build
@bash -c 'trap "jobs -p | xargs kill" EXIT; \
zs watch & \
static -r .pub & \
echo http://localhost:8000/; \
wait'
build:
@zs build
ifeq ($(PUBLISH), 1)
image:
@docker build -t r.mills.io/prologic/salty.im .
@docker push r.mills.io/prologic/salty.im
else
image:
@docker build -t r.mills.io/prologic/salty.im .
endif
clean:
@git clean -f -d -X