dev 2.0.153 → 2.0.154

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bbb7615485784a3f129318e55383f4e1eb25d0cc
4
- data.tar.gz: bf4ebb357242428e218b040ea245275590f80b1d
3
+ metadata.gz: 8ecc064d2bb3a91b7b9a140e571e6dd34f6c1876
4
+ data.tar.gz: 7beb03b814be2065af6dba08c2e56d6c0814380d
5
5
  SHA512:
6
- metadata.gz: f927a1430e99d4075eb8b40eebbd7aacaf4aaa41a34abc45418db5b162fc6af298312f8044a87d76419fd92d1bb6aec891fc05e9d14f8488b2b053b3cdd881fc
7
- data.tar.gz: 0db553b73cba992cf3b611403963ab6707682ae9918e73077bf52522b31916f35e0817687f9745b9e01b657ae347d9ab4ad7b9c05f08a673aabfad629357f442
6
+ metadata.gz: c572c34f1b8a233f47a514084a02d9a0cedf4c00792a429d3f0712843541ccac69cceaefda91b9157cc7c4d7be600a4942bbd25688b3c0785ca8daa3a784fbbf
7
+ data.tar.gz: dcef716be0fbbbda3ddcc844c770574648e322d21ad6b168893550cb6ff218c3770dfd14dc27cbfa2d3f9e30173ba12f4df83325dda351a47043ad9d1636b06f
@@ -27,6 +27,15 @@ class Environment < Hash
27
27
  return dir
28
28
  end
29
29
 
30
+ def self.configuration
31
+ config="#{Environment.home}/dev.config.rb"
32
+ if(!File.exists?(config))
33
+ text=IO.read("#{File.dirname(__FILE__)}/../dev.config.rb")
34
+ File.open(config,'w'){|f|f.write(text)}
35
+ end
36
+ config
37
+ end
38
+
30
39
  def self.machine
31
40
  if !ENV['COMPUTERNAME'].nil?
32
41
  return ENV['COMPUTERNAME']
@@ -81,6 +90,7 @@ class Environment < Hash
81
90
  puts " dev_root: #{Environment.dev_root}"
82
91
  puts " machine: #{Environment.machine}"
83
92
  puts " user: #{Environment.user}"
93
+ puts " configuration: #{Environment.configuration}"
84
94
  puts " debug: #{Environment.debug}"
85
95
  puts " "
86
96
  puts "Path Commands"
@@ -0,0 +1,8 @@
1
+ #
2
+ # dev.config.rb
3
+ #
4
+ # SOURCE.include('**/*.svg')
5
+ #
6
+ # CLEAN.include('bin')
7
+ #
8
+ #
data/lib/dev.rb CHANGED
@@ -5,7 +5,11 @@ require_relative('apps.rb')
5
5
  require_relative('tasks.rb')
6
6
  require_relative('commands.rb')
7
7
 
8
- PROJECT=Project.new()
8
+ if(File.exists?(Environment.configuration))
9
+ require Environment.configuration
10
+ end
11
+
12
+ PROJECT=Project.new()
9
13
 
10
14
  class Dev
11
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.153
4
+ version: 2.0.154
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
@@ -67,6 +67,7 @@ files:
67
67
  - lib/base/timeout.rb
68
68
  - lib/base/timer.rb
69
69
  - lib/commands.rb
70
+ - lib/dev.config.rb
70
71
  - lib/dev.rb
71
72
  - lib/tasks.rb
72
73
  - lib/tasks/add.rb