-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gemspec updating, added the VERSION and DATE vars and my rake tasks f…
…or building and releasing the gem. Added a .gitignore file to not track .gem and .sass-cache
- Loading branch information
Showing
5 changed files
with
32 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.gem | ||
.sass-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
require './lib/foundation-sass' | ||
|
||
namespace :gem do | ||
|
||
desc "Build the gem" | ||
task :build do | ||
system "gem build *.gemspec" | ||
end | ||
|
||
desc "Build and release the gem" | ||
task :release => :build do | ||
system "gem push foundation-sass-#{FoundationSass::VERSION}.gem" | ||
end | ||
|
||
end |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
require 'compass' | ||
extension_path = File.expand_path(File.join(File.dirname(__FILE__), "..")) | ||
Compass::Frameworks.register('foundation-sass', :path => extension_path) | ||
Compass::Frameworks.register('foundation-sass', :path => extension_path) | ||
|
||
require 'compass' | ||
Compass::Frameworks.register("foundation-sass", :path => "#{File.dirname(__FILE__)}/..") | ||
|
||
module FoundationSass | ||
|
||
VERSION = "2.0.3" | ||
DATE = "2011-10-31" | ||
|
||
end |
ac70d45
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this rakefile do exactly? Will it just auto add the version number and such to my gem when i build it?
ac70d45
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Here are the rake tasks and descriptions.