Skip to content
ferventcoder edited this page Mar 27, 2012 · 12 revisions

WarmuP

Overview

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.

Getting started with WarmuP

###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.

Custom Replacement Tokens

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"

Get WarmuP

Gems

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!

  1. Type 'gem install warmup'
  2. Then from anywhere you can type 'warmup '

Chocolatey

If you have Chocolatey installed, you can get the current release of WarmuP to your machine quickly!

  1. Type 'cinst warmup'
  2. Then from anywhere you can type 'warmup '

Also available through NuGet - WarmuP

Build Server

To get the latest build, go to the Chuck Norris project on http://teamcity.codebetter.com. Login as guest.

Source

This is the best way to get to the bleeding edge of what we are doing.

  1. Clone the source down to your machine.
    git clone git://github.com/chucknorris/warmup.git
  2. Run build.bat. NOTE: You must have git on the path (open a regular command line and type git).
  3. WarmuP will be located in code_drop\warmup.

REQUIREMENTS

  • .NET Framework 4.0
Clone this wiki locally