Created
September 21, 2009 15:27
-
-
Save mendicantx/190305 to your computer and use it in GitHub Desktop.
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
NAnt: | |
<move todir="${package.dir}\${new.name}" includeemptydirs="true"> | |
<fileset basedir="${package.dir}\${old.name}" > | |
<include name="**\*" /> | |
</fileset> | |
</move> | |
<delete dir="${package.dir}\${old.name}" /> | |
Rake: | |
require 'fileutils' | |
mv "#{package_dir}/#{old_name}" "#{package_dir}/#{new_name}" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment