Skip to content
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib/gitplate
test
.gitignore
CHANGELOG.md
Gemfile
LICENSE
README.md
Rakefile
bozorc.rb
gitplate.gemspec

README.md

Gitplate is a templating solution using git repositories.

Do you often create new projects and have a common repository structure you like to use, with a set of basic build scripts? Gitplate aims to make it quick and simple to get a new project up and running. Point gitplate at any git repository to have a new project created in its image. Gitplate will also run a 'plate' file on the new repository. This plate file can contain tasks to rename files as well as any extra actions you require.

Installation:

gem install gitplate

Example

Initialize an existing git repository for gitplate. Creates a .gitplate directory with a sample plate file

gitplate init

Install an existing repository to setup a new project

gitplate install myproject git://github.com/lukesmith/RepositoryTemplate

Example plate file:

init do
  rename 'SampleSolution.sln', "#{project_name}.sln"
  rename 'SampleSolution.build.bat', "#{project_name}.build.bat"
  rename 'SampleSolution.package.bat', "#{project_name}.package.bat"
end

task :dosomething do
  # call via 'gitplate task dosomething'
end
Something went wrong with that request. Please try again.