Skip to content

Commit

Permalink
add build shell script to generate a "distributable" zip file with th…
Browse files Browse the repository at this point in the history
…e procedure files
  • Loading branch information
jhyot committed Apr 30, 2016
1 parent bf61e87 commit 643e3dd
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.idea/

*.zip

# Avoid including Experiment files
*.pxp
*.pxt
Expand Down
22 changes: 22 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env sh

# Builds a zip archive including all the necessary files to run this software in Igor.
#
# The desired zip file name can be passed as an argument, otherwise a default name will be used.


zipfilename="afm-forcecurve-analysis.zip"


case "$1" in
-h | --help | -\?)
echo "Usage: `basename $0` [zipfilename]"
exit
;;
?*)
zipfilename="$1"
;;
esac

zip -rFS "$zipfilename" config lib forcecurve-analysis.ipf LICENSE README.md

0 comments on commit 643e3dd

Please sign in to comment.