Skip to content

Commit f70bb38

Browse files
committedAug 18, 2011
Ensure build directory exists
1 parent 6139427 commit f70bb38

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ response_body.bin
55
test/fixtures/test-repo1/
66
test/fixtures/test-repo1-packed
77
.DS_store
8-
demos/serve
8+
demos/serve
9+
build
10+
node_modules

‎Rakefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11

2-
3-
42
namespace :test do
53
desc "Reset the github test repo"
64
task :reset do
@@ -101,6 +99,7 @@ task :package_client do
10199
end
102100

103101
total_js = js.join("\n\n")
102+
FileUtils.mkdir_p("build")
104103
File.open("build/git.min.js", "w") {|f| f.puts total_js }
105104
puts "packaged build/git.min.js"
106105
end

0 commit comments

Comments
 (0)