csd 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -13,6 +13,7 @@ begin
13
13
  gemspec.authors = ["Technology Transfer Alliance Team"]
14
14
  gemspec.add_dependency "term-ansicolor", ">= 0"
15
15
  gemspec.add_dependency "activesupport", ">= 0"
16
+ gemspec.add_dependency "builder", ">= 0"
16
17
  gemspec.executables = ["csd"]
17
18
  gemspec.post_install_message = %q{
18
19
  ==============================================================================
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.12
1
+ 0.0.13
data/csd.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{csd}
8
- s.version = "0.0.12"
8
+ s.version = "0.0.13"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Technology Transfer Alliance Team"]
@@ -74,13 +74,16 @@ Gem::Specification.new do |s|
74
74
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
75
75
  s.add_runtime_dependency(%q<term-ansicolor>, [">= 0"])
76
76
  s.add_runtime_dependency(%q<activesupport>, [">= 0"])
77
+ s.add_runtime_dependency(%q<builder>, [">= 0"])
77
78
  else
78
79
  s.add_dependency(%q<term-ansicolor>, [">= 0"])
79
80
  s.add_dependency(%q<activesupport>, [">= 0"])
81
+ s.add_dependency(%q<builder>, [">= 0"])
80
82
  end
81
83
  else
82
84
  s.add_dependency(%q<term-ansicolor>, [">= 0"])
83
85
  s.add_dependency(%q<activesupport>, [">= 0"])
86
+ s.add_dependency(%q<builder>, [">= 0"])
84
87
  end
85
88
  end
86
89
 
@@ -10,9 +10,9 @@ module CSD
10
10
  create_working_dir
11
11
  install_aptitude_dependencies
12
12
  checkout_repository
13
+ make_libraries
13
14
  fix_aclocal_dirlist
14
15
  ldconfig_and_gtkgui
15
- make_libraries
16
16
  end
17
17
 
18
18
  def install_aptitude_dependencies
@@ -62,7 +62,7 @@ module CSD
62
62
  log "Make #{lib}".green.bold
63
63
  run_command("make")
64
64
  log "Make install #{lib}".green.bold
65
- #run_command("make install")
65
+ run_command("make install")
66
66
  else
67
67
  log "Skipping ´#{lib}´ because ´#{lib_dir}´ could not be found".red.bold
68
68
  end
data/lib/csd/options.rb CHANGED
@@ -14,7 +14,11 @@ module CSD
14
14
  options.temp = false
15
15
  options.silent = false
16
16
  options.dry = false
17
-
17
+ options.bootstrap = true
18
+ options.configure = true
19
+ options.make = true
20
+ options.make_install = true
21
+
18
22
  # Parse the command line options
19
23
  OptionParser.new do |opts|
20
24
  opts.banner = "Usage: csd [action] [application] [options]"
@@ -36,6 +40,22 @@ module CSD
36
40
  opts.on("-d", "--dry","Don't execute any commands, just show them") do |value|
37
41
  options.dry = value
38
42
  end
43
+
44
+ opts.on("-d", "--no-bootstrap","Don't run the bootstrap command") do |value|
45
+ options.bootstrap = value
46
+ end
47
+
48
+ opts.on("-d", "--no-configure","Don't run the configure command") do |value|
49
+ options.configure = value
50
+ end
51
+
52
+ opts.on("-d", "--no-make","Don't run the make command") do |value|
53
+ options.make = value
54
+ end
55
+
56
+ opts.on("-d", "--no-make-install","Don't run the make install command") do |value|
57
+ options.make_install = value
58
+ end
39
59
 
40
60
  opts.on("-p", "--path [PATH]",
41
61
  "Defines the working directory manually.",
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 12
10
- version: 0.0.12
9
+ - 13
10
+ version: 0.0.13
11
11
  platform: ruby
12
12
  authors:
13
13
  - Technology Transfer Alliance Team
@@ -46,6 +46,20 @@ dependencies:
46
46
  version: "0"
47
47
  type: :runtime
48
48
  version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
50
+ name: builder
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ type: :runtime
62
+ version_requirements: *id003
49
63
  description: CSD stands for Communication Systems Design and is a project of the Telecommunication Systems Laboratory (TSLab) of the Royal Institute of Technology in Stockholm, Sweden. Within CSD many software tools are used to build up various networks and services. This gem is supposed to automate processes to handle the compilation and installation of these software tools. Technology Transfer Alliance (TTA) is the project team, which maintains this code.
50
64
  email: mtoday11@gmail.com
51
65
  executables: