Skip to content

Commit 97b6c45

Browse files
committed
clean up tasks
1 parent 2053342 commit 97b6c45

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

Rakefile

+6-9
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,15 @@ task :sync do
1414
else
1515
Dir.chdir(at_dir) { puts %x{git pull -X theirs} }
1616
end
17-
end
18-
19-
desc "load dependences"
20-
task :bower_install => :sync do
21-
unless Dir.exist? bower_dir
22-
Dir.chdir(at_dir) { puts %x{bower install} }
23-
end
17+
Dir.chdir(at_dir) {
18+
puts "* bower install..."
19+
puts %x{bower install}
20+
}
2421
end
2522

2623
desc "copy assets"
27-
task :fresh => [:bower_install, :sync] do
28-
puts "", " * Copying..."
24+
task fresh: :sync do
25+
puts " * Copying..."
2926
source_dir = "tmp/At.js/dist"
3027
dist_dir = "lib/assets"
3128

0 commit comments

Comments
 (0)