-
Notifications
You must be signed in to change notification settings - Fork 151
Contribution Guide
rauhryan edited this page Apr 20, 2013
·
3 revisions
We welcome contributions. To facilitate a smooth process for you and us, please read Contributing to FubuMVC Guidelines before you make any changes.
Note: FubuMVC's build requires bundler gem install bundler
git clone https://github.com/DarthFubuMVC/fubumvc.git
cd fubumvc
bundle install
rake compile
-- FubuMVC is built by Windows users, so all of the text files have CRLF line endings. These line endings are stored as-is in git (which means we all have autocrlf turned off). If you have autocrlf enabled, when you retrieve files from git, it will modify all of your files. Your best bet is to turn off autocrlf, and re-create your clone of FubuMVC.
- Delete your local clone of the FubuMVC repository
- Type:
git config --global core.autocrlf false
- Type:
git config --system core.autocrlf false
- Clone the FubuMVC repository again
More information about working with git and FubuMVC
CommonAssemblyInfo.cs is generated by the build. The build script requires Ruby with rake installed.
- Run
InstallGems.bat
to get the ruby dependencies (only needs to be run once per computer) - open a command prompt to the root folder and type
rake
to execute rakefile.rb
If you do not have ruby:
- You need to manually create a src\CommonAssemblyInfo.cs file
- type:
echo // > src\CommonAssemblyInfo.cs
- open src\FubuMVC.sln with Visual Studio and Build the solution