Hi all,
Hi Ian,

some time ago we discussed about an install task
in NAnt.build... so the question is: do we add it?

I'll propose something like this:

<target
   name="install"
   depends="build"
   description="Installs the current configuration">
   <copy
     todir="${install.dir}/bin"
     overwrite="true">
     <fileset basedir="${build.dir}/${package.name}/bin">
       <includes name="**"/>
     </fileset>
   </copy>
</target>

<target
  name="uninstall"
  depends="init"
  description="Uninstalls the current configuration">
  <delete failonerror="false">
    <fileset basedir="${install.dir}/bin">
      <includes name="NAnt.exe"/>
      <includes name="NAnt.exe.congig"/>
      ...
    </fileset>
  </delete>
</target>

What's your opinion?

Gius_.

-- 
----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  [EMAIL PROTECTED]
web:    www.agamura.com
----------------------------------------



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to