Permalink
Browse files

LIB_DIR might not exists yet

  • Loading branch information...
1 parent e25dcfb commit b03ced733ed5f7623e7a75e477491a9b1a9181b4 Jakub Šťastný aka Botanicus committed Dec 17, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 Rakefile
View
1 Rakefile
@@ -33,6 +33,7 @@ file PARSER_OUT_FILE => PARSER_SRC_FILE do
end
file PEGJS_OUT_FILE => SRC_FILES do
+ mkdir_p LIB_DIR unless File.directory?(LIB_DIR)
File.open(PEGJS_OUT_FILE, "w") do |f|
f.write(preprocess(File.read(PEGJS_SRC_FILE), SRC_DIR, PEGJS_VERSION))
end

0 comments on commit b03ced7

Please sign in to comment.