Skip to content

Commit

Permalink
v0.8.1 Proper Bobcat
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbaddaden committed Dec 8, 2018
1 parent 6973ce4 commit e0751cf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## v0.8.1 - 2018-12-08

Fixes:
- Prax hung forever when reaping child processes.
- Crystal 0.27 compatibility.

## v0.8.0 - 2018-09-07

Enhancements:
Expand Down
18 changes: 8 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CRYSTAL_BIN ?= $(shell which crystal)
CRYSTAL = crystal

ifndef PREFIX
PREFIX = $(CURDIR)/dist
Expand All @@ -18,21 +18,19 @@ DEB_DEPENDENCIES = "-d 'libssl1.0.2 | libssl1.0.0'"

SOURCES = $(wildcard src/*.cr) $(wildcard src/**/*.cr)

.PHONY: ext

all: $(SOURCES)
mkdir -p bin
$(CRYSTAL_BIN) build $(CURDIR)/src/prax.cr -o bin/prax-binary
$(CRYSTAL) build $(CURDIR)/src/prax.cr -o bin/prax-binary

release: $(SOURCES)
mkdir -p $(BINDIR)
$(CRYSTAL_BIN) build --release $(CURDIR)/src/prax.cr -o $(BINDIR)/prax-binary
$(CRYSTAL) build --release $(CURDIR)/src/prax.cr -o $(BINDIR)/prax-binary
#strip --strip-uneeded $(BINDIR)/prax-binary

run: all
./bin/prax-binary

ext:
ext: .phony
cd ext && make

install: ext release
Expand Down Expand Up @@ -73,11 +71,11 @@ deb:
mkdir -p packages
mv dist/*.deb packages

.PHONY: test
test: all
test: all .phony
bundle exec rake test

.PHONY: clean
clean:
clean: .phony
rm -rf .crystal bin/prax-binary dist test/hosts/_logs
cd ext && make clean

.phony:
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.0-1
0.8.1-1

0 comments on commit e0751cf

Please sign in to comment.