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 +1 -1
- data/lib/six/arma/builder-app.rb +27 -0
- data/lib/six/arma/builder.rb +1 -1
- metadata +3 -2
data/Rakefile
CHANGED
@@ -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
|
data/lib/six/arma/builder.rb
CHANGED
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.
|
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
|
+
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:
|