lib/build/gemsBuild.step in uppercutbuild-1.1.2.0 vs lib/build/gemsBuild.step in uppercutbuild-1.2.0.0

- old
+ new

@@ -31,13 +31,11 @@ <property name="version.major" value="1" overwrite="false" /> <property name="version.minor" value="0" overwrite="false" /> <property name="version.build" value="0" overwrite="false" /> <property name="version.revision" value="0" overwrite="false" /> <property name="assembly.version.full" value="${version.major}.${version.minor}.${version.build}.${version.revision}" /> - <property name="file.gems.version" value="${dirs.drop.gems}${path.separator}VERSION" /> - <property name="file.custom.step.before" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.pre.step" /> <property name="file.custom.step.after" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.post.step" /> <property name="file.custom.step.replace" value="${dirs.build_scripts_custom}${path.separator}${file.current.no_extension}.replace.step" /> <property name="is.replaced" value="false" /> <property name="fail.build.on.error" value="false" /> @@ -51,11 +49,11 @@ <call target="run_normal_tasks" if="${not is.replaced}" /> <call target="custom_tasks_after" if="${target::exists('custom_tasks_after')}" /> </target> <target name="run_normal_tasks" - depends="build_gem" + depends="build_gem, remove_gem_files" description="Building gems." /> <target name="custom_tasks_before"> <echo message="Running custom tasks if ${file.custom.step.before} exists." /> <nant buildfile="${file.custom.step.before}" inheritall="true" if="${file::exists(file.custom.step.before)}" failonerror="${fail.build.on.error}" /> @@ -96,9 +94,18 @@ failonerror="false"> <arg value="/c gem build ${spec.file}" /> </exec> </do> </foreach> + </target> + + <target name="remove_gem_files"> + <delete> + <fileset basedir="${dirs.drop.gems}" > + <exclude name="*.gem" /> + <include name="**/*" /> + </fileset> + </delete> </target> <target name="custom_tasks_after"> <echo message="Running custom tasks if ${file.custom.step.after} exists." /> <nant buildfile="${file.custom.step.after}" inheritall="true" if="${file::exists(file.custom.step.after)}" failonerror="${fail.build.on.error}" /> \ No newline at end of file