six-arma-builder 0.0.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
12
12
 
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.name = 'six-arma-builder'
15
- s.version = '0.0.1'
15
+ s.version = '0.1.2'
16
16
  s.has_rdoc = true
17
17
  s.extra_rdoc_files = ['README', 'LICENSE']
18
18
  s.summary = 'Your summary here'
@@ -0,0 +1,27 @@
1
+ # encoding: UTF-8
2
+ require 'six/arma/builder'
3
+ require 'six/arma/builder/options'
4
+ module Six
5
+ module Arma
6
+ module Builder
7
+ TEST = false #true
8
+ #parse_options
9
+ initialize
10
+ @config[:mods].each do |config|
11
+ if true#['six'].include? config[:name]
12
+ mod = Mod.new(config)
13
+ # TODO: First reset the package repositories ?
14
+ mod.process_diffs
15
+ mod.process_files
16
+ begin
17
+ mod.commit_destination unless TEST # TODO: ONLY WHEN FINALIZED
18
+ rescue
19
+ puts "Failed"
20
+ end
21
+ end
22
+ end
23
+ # TODO: Only save when finalized
24
+ save unless TEST
25
+ end
26
+ end
27
+ end
@@ -18,7 +18,7 @@ require 'six/arma/builder/mod'
18
18
  module Six
19
19
  module Arma
20
20
  module Builder
21
- VERSION = '0.1.1'
21
+ VERSION = '0.1.2'
22
22
  COMPONENT = 'six-arma-builder'
23
23
  BASE_PATH = Dir.pwd
24
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: six-arma-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sickboy
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-12 00:00:00 +01:00
12
+ date: 2010-02-13 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -67,6 +67,7 @@ files:
67
67
  - Rakefile
68
68
  - lib/six/arma/builder/mod.rb
69
69
  - lib/six/arma/builder/options.rb
70
+ - lib/six/arma/builder-app.rb
70
71
  - lib/six/arma/builder.rb
71
72
  has_rdoc: true
72
73
  homepage: