Skip to content

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
C# Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
GitBuilder
gitHookFiles
lib
packages
.gitignore
GitBuilder.sln
README.md
UpgradeLog.XML
UpgradeLog2.XML
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.