From 74507d5c121f81840410173945bc0b535b30420c Mon Sep 17 00:00:00 2001 From: David Majda Date: Mon, 8 Mar 2010 15:21:11 +0100 Subject: [PATCH] Added "pegjs-" prefix to the name of the minified runtime file. --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 29853fd..f7470e3 100644 --- a/Rakefile +++ b/Rakefile @@ -3,7 +3,7 @@ require "uri" version = File.read("VERSION").strip -file "lib/runtime-#{version}.min.js" => "lib/runtime.js" do |t| +file "lib/pegjs-runtime-#{version}.min.js" => "lib/runtime.js" do |t| response = Net::HTTP.post_form( URI.parse("http://closure-compiler.appspot.com/compile"), { @@ -21,4 +21,4 @@ file "lib/runtime-#{version}.min.js" => "lib/runtime.js" do |t| File.open(t.name, "w") { |f| f.write(response.body) } end -task :default => "lib/runtime-#{version}.min.js" +task :default => "lib/pegjs-runtime-#{version}.min.js"