File tree Expand file tree Collapse file tree 7 files changed +32
-2
lines changed Expand file tree Collapse file tree 7 files changed +32
-2
lines changed Original file line number Diff line number Diff line change
1
+ * .gem
Original file line number Diff line number Diff line change @@ -11,6 +11,31 @@ task :test do
11
11
end
12
12
end
13
13
14
+ desc "build gems"
15
+ task :build_gems => [ :test ] do
16
+ GEMS . each do |gem |
17
+ chdir gem do
18
+ if gem == 'cli'
19
+ sh "gem build compass.gemspec"
20
+ else
21
+ sh "gem build compass-#{ gem } .gemspec"
22
+ end
23
+ end
24
+ end
25
+ end
26
+
27
+ desc "publish gems"
28
+ task :publish_gems => [ :build_gems ] do
29
+ GEMS . each do |gem |
30
+ chdir gem do
31
+ if gem == 'cli'
32
+ sh "gem push compass.gemspec"
33
+ else
34
+ sh "gem push compass-#{ gem } .gemspec"
35
+ end
36
+ end
37
+ end
38
+ end
14
39
15
40
desc "Clean up all test files"
16
41
task :test_cleanup do
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ unless ENV['PKG']
19
19
gem 'rake'
20
20
gem 'json' , '~> 1.7.7' , :platforms => :ruby_18
21
21
gem 'true' , "~> 0.2.3"
22
+ gem 'test-unit' , '~> 3.0.9'
22
23
23
24
# Warning be carful adding OS dependant gems above this line it will break the CI server please
24
25
# place them below so they are excluded
Original file line number Diff line number Diff line change 1
- 1.0.1
1
+ 1.0.2
Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ gem 'pry'
7
7
gem 'diff-lcs' , '~> 1.1.2'
8
8
gem 'true' , "~> 0.2.3"
9
9
gem 'timecop' , "~> 0.5.9.2"
10
+ gem 'test-unit' , '~> 3.0.9'
Original file line number Diff line number Diff line change 1
- 1.0.1
1
+ 1.0.2
Original file line number Diff line number Diff line change 1
1
source 'https://rubygems.org'
2
2
3
+ gem 'test-unit' , '~> 3.0.9'
4
+
3
5
gemspec
You can’t perform that action at this time.
0 commit comments