-
Notifications
You must be signed in to change notification settings - Fork 0
HowToBuildAlbacore
In PowerShell:
git clone git://github.com/derickbailey/albacore.git -b dev ; gem install bundler ; bundle install ; rake install
If you would like to install the latest source code for albacore, and get all the new features and functionality (possibly in an unstable form), you can manually build and install the albacore gem. Follow these simple instructions and you will be good to go.
Step 1: Clone albacore
Use your Github account to fork albacore, or clone it directly from my public clone URL.
git clone git://github.com/Albacore/albacore.git albacore
Step 2: Install Required Dependencies
You will need the Bundler gem installed to install the other albacore dependencies
gem install bundler
If running on Windows you will also need the RubyInstaller Development Kit from http://rubyinstaller.org/downloads/, using the installation instructions from https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
In your local clone of albacore, run bundler
bundle install
This will install all of the gem dependencies that you need to build the albacore gem and add your own contributions to albacore.
Step 3: Build the gem
In your local clone of albacore, use rake to build the latest version of the albacore code into a gem.
rake build
this will produce an 'albacore-#.#.#.gem' file in the 'pkg' folder, where '#.#.#' is the version number. For example 'albacore-0.1.2.gem'*.
Note: Only files checked in to Git will be included in the built gem.
Step 4: Install the gem
After building the gem, you can install it from your local file system.
gem install -l pkg/albacore-#.#.#.gem
where '#.#.#' is the version number of the gem. For example 'albacore-0.1.2.gem'. Or, using rake:
rake install
It isn't necessary to run rake build if using rake install.
Generated: albacore.gemspec
albacore.gemspec is valid.
rake aborted!
undefined method `write' for #<Syck::Emitter:0x2d0b628>
Then try
RUBYOPT='-rpsych' rake jeweler:gemspec jeweler:build
or for PowerShell:
$env:RUBYOPT='-rpsych' ; rake jeweler:gemspec jeweler:build
- Build-Server Integration
- Command Line Task Options
- Configuration
- Custom Tasks
- Logging Options
- Sample Usages
- Task Arguments and Rakefile Parameters
- YAML Configuration
- ASP.NET Compiler - ASP.Net website compiler
- Assembly Info Generator - generate assembly info dynamically
- CSC - C# compiler
- Exec - Execute arbitrary cmd
- Fluent Migrator - Run FluentMigrator on migration library
- ILMerge - Merge dll/exe-s together
- MSBuild and XBuild - Compile a .sln-file or a MsBuild xml-file
- MSpec - Test using MSpec (machine.specifications)
- MSTest - Test using Microsoft Test Framework
- NAnt - Run a NAnt script
- NChurn - Calculate per-file churn
- NCover Console - Run NCover for tests/library
- NCover Reports - Generate a report from a coverage run
- NDepend - Run NDepend to check static code metrics
- NuGet Install - Install NuGet packages
- NuGet Pack - Create NuGet packages
- NuGet Push - Push NuGet packages to official MS repo
- NuGet Publish - Publish NuGet packages
- NUnit - Test using NUnit
- NuSpec - Generate a NuSpec file
- Output - File copying and template expansion
- PLink - SSH into a remote computer and run a command
- SQLCmd - Run a SQL command as a part of your build process
- UnZip - Unzip a directory
- XBuild - Run XBuild (will be merged into MsBuild)
- XUnit - Test using XUnit
- Zip - Zip a directory or files
- Edit the Wiki Locally - How to edit the wiki without using Github's interface
- How to Build Albacore
- How to Contribute