Cleanup: move constants out of Object.
This commit is contained in:
parent
3cf161791c
commit
7cd2600267
3 changed files with 3 additions and 8 deletions
|
@ -3,10 +3,6 @@
|
|||
#$DEBUG = true
|
||||
#$VERBOSE = true
|
||||
|
||||
QASIM_INCLUDE_DIR = "lib"
|
||||
QASIM_DATA_DIR = "."
|
||||
|
||||
|
||||
#
|
||||
# external libraries
|
||||
#
|
||||
|
|
|
@ -10,10 +10,7 @@ require 'set'
|
|||
require 'fcntl'
|
||||
require 'pathname'
|
||||
|
||||
QASIM_INCLUDE_DIR = Pathname.new(File.dirname(__FILE__)).parent + "lib"
|
||||
QASIM_DATA_DIR = Pathname.new(File.dirname(__FILE__)).parent + "data"
|
||||
|
||||
$:.push QASIM_INCLUDE_DIR
|
||||
$:.push "lib"
|
||||
|
||||
require 'qasim'
|
||||
require 'qasim/qasim_qrc'
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
module Qasim
|
||||
APP_DATA_DIR = Pathname.new(File.dirname(__FILE__)).parent.parent.parent + "data"
|
||||
|
||||
APP_ICON_PATH = File.join QASIM_DATA_DIR, "icons"
|
||||
|
||||
APP_SYSCONFIG_DIR = "/etc/qasim/maps.d"
|
||||
|
|
Loading…
Reference in a new issue