summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-24 09:23:41 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-24 09:23:41 +0200
commitc46221a34d1c42b87544be9364d36a3e4317ab24 (patch)
tree6366d90a3335e93ca62c120de497c9492b7e3676
parent8877205350bb7c70232c90e61ae30f83af05f5b1 (diff)
downloadffi-efl-c46221a34d1c42b87544be9364d36a3e4317ab24.zip
ffi-efl-c46221a34d1c42b87544be9364d36a3e4317ab24.tar.gz
set Efl::VERSION
-rw-r--r--Rakefile3
-rw-r--r--lib/efl.rb2
2 files changed, 3 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 45cfba1..12fbfa4 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,6 @@
# -*- coding: UTF-8 -*-
#
+require './lib/efl.rb'
load './tasks/setup.rb'
#
# Project general information
@@ -7,7 +8,7 @@ PROJ.name = 'ffi-efl'
PROJ.authors = 'Jérémy Zurcher'
PROJ.email = 'jeremy@asynk.ch'
PROJ.url = 'https://github.com/jeremyz/ffi-efl'
-PROJ.version = '0.0.1'
+PROJ.version = Efl::VERSION
PROJ.rubyforge.name = 'ffi-efl'
PROJ.readme_file = 'README.rdoc'
#
diff --git a/lib/efl.rb b/lib/efl.rb
index a441c0b..cd5a05e 100644
--- a/lib/efl.rb
+++ b/lib/efl.rb
@@ -3,7 +3,7 @@
#
#
module Efl
-# autoload :Eina, './lib/efl/eina.rb'
+ VERSION = '0.0.1'
autoload :Eet, './lib/efl/eet.rb'
autoload :Evas, './lib/efl/evas.rb'
autoload :Ecore, './lib/efl/ecore.rb'