-
Notifications
You must be signed in to change notification settings - Fork 5
/
buildReleasePackage.sh
executable file
·29 lines (25 loc) · 1.02 KB
/
buildReleasePackage.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
# --------------------------------------------------------------------------
# buildscript for linux 64bit
# --------------------------------------------------------------------------
# Processing Wrapper for the OpenNI/Kinect 2.0 library
# http://code.google.com/p/simple-openni
# --------------------------------------------------------------------------
# prog: Max Rheiner / Interaction Design / zhdk / http://iad.zhdk.ch/
# date: 08/25/2013 (m/d/y)
# ----------------------------------------------------------------------------
# Build a release package
# ----------------------------------------------------------------------------
# copy the zip folder to remove all svn files
echo "--- copy SimpleOpenNI to zip ---"
mkdir ./dist/all/tmp
cp -r ./dist/all/SimpleOpenNI ./dist/all/tmp
cd ./dist/all/tmp
# remove all svn files
find . -name .svn -exec rm -rf {} \;
# remove all svn files
echo "--- compress SimpleOpenNI ---"
zip -r SimpleOpenNI ./SimpleOpenNI
cp SimpleOpenNI.zip ../
rm -rf ../tmp
echo "--- package done ---"