Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
Add rake task to generate standalone binary
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenharman committed Jun 12, 2012
1 parent ffd7b75 commit 0cbd287
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Enhancements

* Support Ruby 1.8
* Generate standalone binary via `rake git-tracker`

### 1.3.1 / 2012-04-23
[full changelog](https://github.com/highgroove/git_tracker/compare/v1.3.0...v1.3.1)
Expand Down
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)
task :default => :spec

file 'git-tracker' => FileList.new('lib/git_tracker.rb, lib/git_tracker/*.rb') do |task|
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'git_tracker/standalone'
GitTracker::Standalone.save(task.name)
end

0 comments on commit 0cbd287

Please sign in to comment.