P
Phrogz
I'm comparing Rake and NAnt for our pseudo-build process needs. I've
written the NAnt build file, and now I'm trying to port it (directly
at first) to Rake.
NAnt has a 'move' task for moving batches of files to a new directory.
By default, if you list specific files that don't exist, they are
ignored (not errored). Here's an example of the NAnt section I'm
trying to recreate:
<move todir="${path.intermediate}">
<fileset>
<include name="${dae}" />
<include name="${presentation_name}_org.bgf" />
</fileset>
</move>
<move todir="${path.data}">
<fileset basedir="${path.dae}">
<include name="${presentation_name}.bgf" />
<include name="${presentation_name}.nif" />
<include name="*.bvs" />
<include name="*.lua" />
</fileset>
</move>
Is there a built-in method for doing something like this (using
FileSet perhaps) that I'm not seeing in Rake? If not, does someone
else have a pre-built method that does this?
written the NAnt build file, and now I'm trying to port it (directly
at first) to Rake.
NAnt has a 'move' task for moving batches of files to a new directory.
By default, if you list specific files that don't exist, they are
ignored (not errored). Here's an example of the NAnt section I'm
trying to recreate:
<move todir="${path.intermediate}">
<fileset>
<include name="${dae}" />
<include name="${presentation_name}_org.bgf" />
</fileset>
</move>
<move todir="${path.data}">
<fileset basedir="${path.dae}">
<include name="${presentation_name}.bgf" />
<include name="${presentation_name}.nif" />
<include name="*.bvs" />
<include name="*.lua" />
</fileset>
</move>
Is there a built-in method for doing something like this (using
FileSet perhaps) that I'm not seeing in Rake? If not, does someone
else have a pre-built method that does this?