Skip to content

Commit

Permalink
script to make os x tar.gz distrubution
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhoerberg committed Feb 26, 2018
1 parent b014459 commit 95630b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
/.vagrant/
*.log
*.deb
*.tar.gz
9 changes: 9 additions & 0 deletions extras/mkosxtar
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
rm -rf amqproxy
mkdir amqproxy
crystal build -o amqproxy/amqproxy --release src/amqproxy.cr
rm amqproxy/amqproxy.dwarf
cp README.md amqproxy/
pkg_version=$(crystal eval 'require "./src/amqproxy/version"; puts AMQProxy::VERSION')
tar zcvf amqproxy-$pkg_version-osx.tar.gz amqproxy/*
rm -r amqproxy

0 comments on commit 95630b6

Please sign in to comment.