forked from RobotLocomotion/drake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: Contents.m configure.m examples/Acrobot/runDircol.m runAllTests.m systems/@DynamicalSystem/runLCM.m systems/@PolynomialSystem/PolynomialSystem.m systems/@PolynomialTrajectorySystem/PolynomialTrajectorySystem.m systems/plants/Manipulator.m git-svn-id: https://svn.csail.mit.edu/locomotion/robotlib/branches/class-hierarchy-cleanup@3351 c9849af7-e679-4ec6-a44e-fc146a885bd3
- Loading branch information
russt
committed
Jul 21, 2012
1 parent
d46ab2f
commit e7beec7
Showing
7 changed files
with
151 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
All components of Drake are licensed under the BSD 3-Clause | ||
License. | ||
|
||
Copyright (c) 2012, Robot Locomotion Group @ CSAIL All rights | ||
reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
|
||
Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. Redistributions | ||
in binary form must reproduce the above copyright notice, this list of | ||
conditions and the following disclaimer in the documentation and/or | ||
other materials provided with the distribution. Neither the name of | ||
the Massachusetts Institute of Technology nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
#!/bin/bash | ||
|
||
## deploy.sh - a bash script that generates a | ||
## deployable PUBLIC bundle of Drake. | ||
|
||
## DO NOT RUN THIS FROM THE TRUNK!!!!! | ||
## You will need to run this from a working copy | ||
## of the "drake" branch of robotlib. | ||
|
||
## You need to always make sure that the following | ||
## number actually matches the last version | ||
## before copy - svn log --verbose --stop-on-copy | ||
## will tell you what that is | ||
|
||
SVN_LAST_REV_BEFORE_COPY=2845 | ||
SVN_SRC="https://svn.csail.mit.edu/locomotion/robotlib/trunk" | ||
|
||
## TODO: change this once script is working | ||
## this needs to be a working copy of the | ||
## "drake" branch. | ||
|
||
SVN_WORKING_COPY=`pwd` | ||
|
||
## TODO: use credentials here. probably won't need this | ||
## if we run from Hudson, or manually. | ||
# SVN_USERNAME="" | ||
# SNV_PASSWORD="" | ||
|
||
## start by getting trunk merged over to us | ||
echo "Going to svn merge trunk over to us..." | ||
cd $SVN_WORKING_COPY | ||
svn merge -r $SVN_LAST_REV_BEFORE_COPY:HEAD $SVN_SRC | ||
echo "Done." | ||
|
||
## Remove .svn directories. | ||
echo "Removing all SVN housekeeping files..." | ||
find . -depth -type d -name .svn -exec rm -rf {} \; | ||
echo "Done." | ||
|
||
# Remove dev directories | ||
echo "Removing all dev directories..." | ||
find . -depth -type d -name dev -exec rm -rf {} \; | ||
echo "Done." | ||
|
||
## Remove NORELEASE directories | ||
echo "Getting rid of NORELEASE directories..." | ||
for dir in `find . -type d -print`; | ||
do | ||
if [ -e $dir/.NORELEASE ] | ||
then | ||
echo "Removing $dir" | ||
rm -rf $dir | ||
fi | ||
done | ||
echo "Done." | ||
|
||
## Remove NORELEASE files | ||
echo "Getting rid of NORELEASE files..." | ||
for file in `find . -type f` | ||
do grep -q NORELEASE $file && rm $file | ||
done | ||
|
||
echo "Done." | ||
echo "Release stripping is complete." | ||
|
||
echo "Making a .tar.gz now..." | ||
cd ../ | ||
tar cvf /tmp/drake.tar drake && gzip /tmp/drake.tar | ||
echo "Done." | ||
echo "The tar.gz is now at /tmp/drake.tar.gz." | ||
|
||
echo "Making a .zip file now..." | ||
zip -r /tmp/drake.zip drake | ||
echo "Done." | ||
echo "The zipfile is now at /tmp/drake.zip." | ||
|
||
echo "All packaging is complete. Enjoy!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters