Browse files

Load PROTOTYPE_VERSION from src/constants.yml

  • Loading branch information...
1 parent a519c02 commit 938ac16c2d1fd048def970f1dad9c88abc48b435 @sstephenson committed Feb 10, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
2 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')

0 comments on commit 938ac16

Please sign in to comment.