From 938ac16c2d1fd048def970f1dad9c88abc48b435 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Tue, 10 Feb 2009 10:52:08 -0600 Subject: [PATCH] Load PROTOTYPE_VERSION from src/constants.yml --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 7a70ec4..3d1d726 100755 --- a/Rakefile +++ b/Rakefile @@ -9,7 +9,7 @@ PROTOTYPE_PKG_DIR = File.join(PROTOTYPE_ROOT, 'pkg') PROTOTYPE_TEST_DIR = File.join(PROTOTYPE_ROOT, 'test') PROTOTYPE_TEST_UNIT_DIR = File.join(PROTOTYPE_TEST_DIR, 'unit') PROTOTYPE_TMP_DIR = File.join(PROTOTYPE_TEST_UNIT_DIR, 'tmp') -PROTOTYPE_VERSION = '1.6.0.3' +PROTOTYPE_VERSION = YAML.load(IO.read(File.join(PROTOTYPE_SRC_DIR, 'constants.yml')))['PROTOTYPE_VERSION'] $:.unshift File.join(PROTOTYPE_ROOT, 'lib') $:.unshift File.join(PROTOTYPE_ROOT, 'vendor', 'sprockets', 'lib')