Skip to content

Commit

Permalink
Add make target to bootstrap project, work around crystal-lang/crysta…
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Apr 17, 2017
1 parent ffc907e commit 58ab0ac
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
test:
crystal spec

prepare:
shards

web:
crystal run examples/web.cr

Expand All @@ -18,8 +21,8 @@ bench:
#ruby bench/load.rb

bin: clean
time crystal build -s --release -o sidekiq examples/sidekiq.cr
time crystal build -s --release -o sideweb examples/web.cr
time crystal build -s --no-debug --release -o sidekiq examples/sidekiq.cr
time crystal build -s --no-debug --release -o sideweb examples/web.cr

clean:
rm -f sidekiq sideweb
Expand Down

0 comments on commit 58ab0ac

Please sign in to comment.