-
Notifications
You must be signed in to change notification settings - Fork 24
Home
WarmuP allows you to define templates for entire projects and change them as technology changes and you learn new things. The templates are kept in source control. Both SVN and Git are supported places to keep your templates. You can also keep your templates in folders and that is the default methodology used currently.
WarmuP is not just about Visual Studio solutions, it can template any set of text files/folders.
###Token Replacement
You define a template using __NAME__
(note the double underscore) as part of file/folder names and inside of files. Then you run WarmuP telling it what you want to replace NAME with.
In the location you want the generated template to reside run:
[warmuppath]warmup.exe template replacementName [targetDirectoryIfDifferentThanReplacementName]
Ensure that the warmup.exe.config has the correct path to your templates.
WarmuP will also replace custom tokens with pre-configured values.
You can add custom replacement tokens to WarmuP by adding them to the configuration. You can also run a command to add them to the configuration from the command line.
warmup addTextReplacement findName replacementName
i.e. warmup addTextReplacement __COMPANY__ "Somewheres, Intl"
If you have Ruby 1.8.6+ (and Gems 1.3.7+) installed, you can get the current release of WarmuP to your machine quickly!
- Type 'gem install warmup'
- Then from anywhere you can type 'warmup '
If you have Chocolatey installed, you can get the current release of WarmuP to your machine quickly!
- Type 'cinst warmup'
- Then from anywhere you can type 'warmup '
Also available through NuGet - WarmuP
To get the latest build, go to the Chuck Norris project on http://teamcity.codebetter.com. Login as guest.
This is the best way to get to the bleeding edge of what we are doing.
- Clone the source down to your machine.
git clone git://github.com/chucknorris/warmup.git
- Run
build.bat
. NOTE: You must have git on the path (open a regular command line and type git). - WarmuP will be located in code_drop\warmup.
- .NET Framework 4.0