Created
September 22, 2011 19:33
-
-
Save joshbirk/1235782 to your computer and use it in GitHub Desktop.
Moving one file for Force.com Migration Tool
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
echo ${1%.*} | |
echo "Cleanup" | |
rm src-latest/classes/* | |
rm src-latest/pages/* | |
rm src-latest/components/* | |
echo "Moving files" | |
cp src/classes/${1%.*}.cls src-latest/classes/ | |
cp src/classes/${1%.*}.cls-meta.xml src-latest/classes/ | |
cp src/pages/${1%.*}.page src-latest/pages/ | |
cp src/pages/${1%.*}.page-meta.xml src-latest/pages/ | |
cp src/pages/${1%.*}.component src-latest/components/ | |
cp src/pages/${1%.*}.component-meta.xml src-latest/components/ | |
cp src/pages/${1%.*}.trigger src-latest/triggers/ | |
cp src/pages/${1%.*}.trigger-meta.xml src-latest/triggers/ | |
cp src/package.xml src-latest/ | |
echo "Building" | |
ant build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment