dev_commands 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/clean.rb +0 -2
- data/lib/clobber.rb +3 -2
- data/spec/commands_spec.rb +1 -1
- metadata +1 -1
data/lib/clean.rb
CHANGED
data/lib/clobber.rb
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
class Clobber < Array
|
2
2
|
def update
|
3
|
-
['bin'
|
3
|
+
['bin'].each{|dir|
|
4
4
|
CLOBBER.include(dir) if File.exists?(dir)
|
5
5
|
}
|
6
6
|
|
7
7
|
clean=Clean.new
|
8
8
|
clean.update
|
9
9
|
|
10
|
-
|
10
|
+
CLOBBER.include('*.gem')
|
11
|
+
|
11
12
|
add '<%Rake::Task[:clobber].reenable%>'
|
12
13
|
add '<%Rake::Task[:clobber].invoke%>'
|
13
14
|
end
|
data/spec/commands_spec.rb
CHANGED