Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

should kickoff an MSBuild command when a git push is, erm, pushed

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 GitBuilder
Octocat-spinner-32 gitHookFiles
Octocat-spinner-32 lib
Octocat-spinner-32 packages
Octocat-spinner-32 .gitignore
Octocat-spinner-32 GitBuilder.sln
Octocat-spinner-32 README.md
Octocat-spinner-32 UpgradeLog.XML
Octocat-spinner-32 UpgradeLog2.XML
Octocat-spinner-32 UpgradeLog3.XML
README.md

GIT and MSBuild, some what together, kind of....

basic idea is as follows:

  • Create a new bare git repo (mkdir ; cd ; git init --bare)
  • In the ProjectName folder, create a folder called builds
  • Copy the files in the gitHookFiles into the hooks folder
  • Run the EXE. it takes a param of the builds folder.
  • Create your project as standard. git add the files and add the remote folder. (check the GIT book if your not sure)
  • Git push Master
  • Once pushed, the EXE should kick off and build your file. it will tell you where the build files live.

Todo

  • Eventually add email support to tell you where your files can be picked up
  • maybe setup building for web packages
  • look into using Powershell instead of an EXE to do the work... this might allow for easier modification

Links

StackOverFlow question on using PowerShell for Git Hooks

Something went wrong with that request. Please try again.