How you setup a greenfield project
-
01-07-2019 - |
Question
I'm setting yup a Greenfield (yeeea!) web application just now was wondering how other people first setup their project with regards to automated/CI build?
I generally follow this:
- Create SVN Repository with basic layout (trunk, braches, lib, etc.)
- Create basic solution structure (core, ui, tests)
- Create a basic test that fails
- Copy NAnt scripts, update and tweak, make sure the failing test breaks the build locally
- Commit
- Setup default debug build on CI server (TeamCity) making sure the build fails
- Fix text
- Commit 9 Make sure build passes on CI
- Done....
Solution
A repost from the question text:
- Create SVN Repository with basic layout (trunk, braches, lib, etc.)
- Create basic solution structure (core, ui, tests)
- Create a basic test that fails
- Copy NAnt scripts, update and tweak, make sure the failing test breaks the build locally
- Commit
- Setup default debug build on CI server (TeamCity) making sure the build fails
- Fix test
- Commit
- Make sure build passes on CI
- Done....
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow