Simple queue realisation

This commit is contained in:
2019-09-13 15:40:15 +03:00
parent 224748cb5a
commit db72b838d3
6 changed files with 92 additions and 7 deletions

View File

@ -1,3 +1,8 @@
.PHONY: build-docker
build-docker:
docker pull alpine:edge
docker build -t village-crystal .
.PHONY: format
format:
./cr tool format ./src ./spec
@ -5,3 +10,8 @@ format:
.PHONY: spec
spec:
./cr spec --warnings all --error-on-warnings
.PHONY: release
release:
mkdir -p build
./cr build ./src/village.cr --release --no-debug --static -o build/village