Skip to content

Commit

Permalink
Adding build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Billiam committed Jul 2, 2015
1 parent 04eb1e0 commit 1f06773
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -e

cd `dirname $0`

rm gauge.zip
rm -r dist/*
pyinstaller --onefile gauge.py
cp config.yml dist
cp LICENSE.md dist/LICENSE.txt
7z a -tzip dist/gauge.zip ./dist/* -mx0
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pyserial==2.7
PyYAML==3.11
pyinstaller==2.1

0 comments on commit 1f06773

Please sign in to comment.