Skip to content
This repository was archived by the owner on Jul 15, 2019. It is now read-only.

Small bash script to automatically build C# projects from shell and git-hooks

Notifications You must be signed in to change notification settings

whisperity/CSharp-Autobuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSharp-Autobuild

This thing is a small shell script I put together to automatically build C# projects after each and every commit made to the system.

It also provides a lightened and edited version which checks build success before making a commit.

How to install?

  • Put the files pre-commit and post-commit into the .git/hooks folder of your project.

  • Then, make a folder called builds in the project's root (where .git is) and put AutoBuild.sh into it.

  • TestBuild.sh is to be put in the root of the project.

  • Edit the configuration values SOLUTION, BUILTPATH and BUILTNAME in the two Shell scripts. (You usually only have to set the solution and filenames, the format is most of the time sufficient.)

And that's just it, the hooks are installed. Next time you run a commit, the solution will be checked, committed and then built.

About

Small bash script to automatically build C# projects from shell and git-hooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages