Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add rake task to generate standalone binary

  • Loading branch information...
commit 0cbd287ce5091d75d8cc4efd6bb816e4f2ecd228 1 parent ffd7b75
@stevenharman authored
Showing with 7 additions and 0 deletions.
  1. +1 −0  CHANGELOG.md
  2. +6 −0 Rakefile
View
1  CHANGELOG.md
@@ -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)
View
6 Rakefile
@@ -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|
@vanstee
vanstee added a note

Could you just use FileList.new('lib/**/*.rb')?

@stevenharman Owner

Yes, probably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
+ require 'git_tracker/standalone'
+ GitTracker::Standalone.save(task.name)
+end
Please sign in to comment.
Something went wrong with that request. Please try again.