Permalink
Browse files

Add rake task to generate standalone binary

  • Loading branch information...
stevenharman committed Jun 12, 2012
1 parent ffd7b75 commit 0cbd287ce5091d75d8cc4efd6bb816e4f2ecd228
Showing with 7 additions and 0 deletions.
  1. +1 −0 CHANGELOG.md
  2. +6 −0 Rakefile
View
@@ -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
@@ -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|

This comment has been minimized.

Show comment Hide comment
@vanstee

vanstee Jun 12, 2012

Contributor

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

@vanstee

vanstee Jun 12, 2012

Contributor

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

This comment has been minimized.

Show comment Hide comment
@stevenharman

stevenharman Jun 12, 2012

Owner

Yes, probably.

@stevenharman

stevenharman Jun 12, 2012

Owner

Yes, probably.

+ $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.