root/lang/powershell/PSCustomProviders/trunk/default.build

Revision 7518, 2.0 kB (checked in by coma2n, 9 months ago)

lang/powershell/PSCustomProviders/trunk: ビルドファイルを修正した

Line 
1<?xml version="1.0" encoding="shift-jis" ?>
2<project xmlns="http://nant.sf.net/release/0.85/nant.xsd"
3        name="Dotnet.PowerShell.CustomProviders" default="build" basedir=".">
4       
5        <!-- �^�[�Q�b�g�̖��O -->
6        <property name="target.name" value="build" />
7        <!-- �t�H�[�}�b�g�t�@�C�� -->
8        <dirset basedir="script" id="format.files">
9                <include name="*.ps1xml" />
10        </dirset>
11        <!-- �t�H�[�}�b�g�f�B���N�g���̃p�X -->
12        <property name="format.path" value="${environment::get-folder-path('Personal')}/WindowsPowerShell/format" />
13       
14        <target name="build" description="�\�[�X����h���܂�">
15                <nant buildfile="buildfile/Dotnet.Commons.build" target="${target.name}" />
16                <nant buildfile="buildfile/Dotnet.PowerShell.PS2ch.build" target="${target.name}" />
17                <nant buildfile="buildfile/Dotnet.PowerShell.PSWeb.build" target="${target.name}" />
18                <nant buildfile="buildfile/Dotnet.PowerShell.PSTodo.build" target="${target.name}" />
19        </target>
20
21        <target name="debug" description="�\�[�X��ug���[�h�Ńr���h���܂�">
22                <property name="target.name" value="debug" />
23               
24                <call target="build" />
25        </target>
26
27        <target name="install" description="PowerShell��napIn����X�g�[�����܂�">
28                <property name="target.name" value="install" />
29               
30                <call target="build" />
31                <copy todir="${format.path}" failonerror="false">
32                        <fileset refid="format.files" />
33                </copy>
34        </target>
35       
36        <target name="uninstall" description="PowerShell��napIn����C���X�g�[�����܂�">
37                <property name="target.name" value="uninstall" />
38               
39                <call target="build" />
40                <delete failonerror="false">
41                        <fileset basedir="${format.path}" refid="format.files" />
42                </delete>
43        </target>
44
45        <target name="export-format"
46                description="�t�H�[�}�b�g�t�@�C����erShell��OME�f�B���N�g���ɃG�N�X�|�[�g���܂�">
47                <copy todir="${environment::get-folder-path('Personal')}/WindowsPowerShell/format">
48                        <fileset basedir="format">
49                                <include name="*.ps1xml" />
50                        </fileset>
51                </copy>
52        </target>
53       
54</project>
Note: See TracBrowser for help on using the browser.