Skip to content
Browse files

make build just zip

  • Loading branch information...
1 parent 3163178 commit 81efc241cb4fb45646b85babf51c62f0a43e4c52 @smith committed Aug 29, 2011
Showing with 2 additions and 12 deletions.
  1. +2 −12 build.sh
View
14 build.sh
@@ -1,18 +1,8 @@
#!/bin/sh
-# Zip up widget for distribution. Requires zip and svn
+# Zip up widget for distribution.
PROJ=CollegeFootball.wdgt
-REPO=`svn info | grep ^URL - | sed -e s/URL:\ //g -`/$PROJ # Get the repo URL
-TEMP=tmp
-ZIPFILE=$PROJ.zip
-echo "Exporting project..."
-svn export $REPO $TEMP/$PROJ
echo "Creating archive..."
-cd $TEMP
-zip -r $ZIPFILE $PROJ
-mv $ZIPFILE ..
-cd ..
-echo "Deleting temporary files..."
-rm -rfv $TEMP
+zip -r $PROJ.zip $PROJ
echo "Created $ZIPFILE. Done."

0 comments on commit 81efc24

Please sign in to comment.
Something went wrong with that request. Please try again.