When to use a build tool?

前端 未结 8 528
闹比i
闹比i 2021-02-04 16:07

A beginner question, bear with me: I\'m just wondering under what circumstances one should use a build tool like nant or msbuild? I\'m working on a medium sized application (.ne

8条回答
  •  天涯浪人
    2021-02-04 16:46

    The short answer is always.

    Each developer should be building using the build script before checking code in. The people building the release should be using the build script to build the release. Your buildbots should be using the build script to build and test the code that's been checked in.

    Doing this allows all the developers, testers and buildbots to have a consistent, repeatable build. After all, The F5 Key Is Not a Build Process.

提交回复
热议问题