samples.build

来自「C#编写的网络爬虫程序 效率很高 很好用!」· BUILD 代码 · 共 37 行

BUILD
37
字号
<?xml version="1.0"?>
<project name="Samples" default="build">

    <!--
        Required properties:
            * bin.dir               - bin directory
            * src.dir               - source location(build) or target(copy)
            * build.debug           - (true|false) debug build?
            * build.defines.csc     - build defines for build config
            * runtime.defines.csc   - build defines for target framework
    -->

    <target name="build" depends="copy">
        <nant buildfile="cpp-sample/cpp-sample.build" target="build"/>
        <nant buildfile="csharp/csharp-sample.build" target="build"/>
        <nant buildfile="vb/vb-sample.build" target="build"/>
        <nant buildfile="money/money.build" target="build"/>
        <nant buildfile="money-port/money-port.build" target="build"/>
        <nant buildfile="jsharp/jsharp.build" target="build"/>
    </target>

    <target name="copy">
        <copy file="samples.sln" tofile="${src.dir}/samples/samples.sln"/>
        <copy file="samples.build" tofile="${src.dir}/samples/samples.build"/>
    </target>

    <target name="copy-all" depends="copy">
        <nant buildfile="cpp-sample/cpp-sample.build" target="copy"/>
        <nant buildfile="csharp/csharp-sample.build" target="copy"/>
        <nant buildfile="vb/vb-sample.build" target="copy"/>
        <nant buildfile="money/money.build" target="copy"/>
        <nant buildfile="money-port/money-port.build" target="copy"/>
        <nant buildfile="jsharp/jsharp.build" target="copy"/>
    </target>

</project>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?