gaudi 0.5.1 → 0.6.0

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
- SHA1:
3
- metadata.gz: ade58e78eedb4cbbb1b732c174e52bc1cdf799f3
4
- data.tar.gz: e22aaf7d8f3a826f4525b5925341198892ab117a
2
+ SHA256:
3
+ metadata.gz: 54ee50618544fa80d9edcc2bf32a730a6c3f551656d08ba73339a24218bb4649
4
+ data.tar.gz: cee8a55f8f84381fa1e63c8af2f189499c327f0ae567e20798cd34d1d0bf4377
5
5
  SHA512:
6
- metadata.gz: 1c797adab80c1232a8870cd24c3375a22abdf806c26c0f918376d9cd2a6c50bd5c369b33b3286cd8aca21dab75726af5fcefc6ba0b74321a1914270a58dcda8c
7
- data.tar.gz: 2a83925fb3104f93569a117b45a982c12cf2681605220294eaa061e6f3c71eb6b95857d2637308ffa24da3f2cf2fe42e0897205da537d46cfe817dcaa3102e44
6
+ metadata.gz: be7d986ff41897aa4a15f9b001d5e56c257b4f92ff401dfd6498267420ba96e3918ca9dc4b49bdf8ebb8e85f8fe19b20a1662796602b6be9763ae61581dbdbea
7
+ data.tar.gz: c7c8c80828f100eeee72ddfc73759049af2f25f6283c81bba56188c02d53e307aa3dfb9175b03bb4082ef12a9208bf510045a1d59109818d3fba38e7f430bfbb
data/History.txt CHANGED
@@ -1,34 +1,56 @@
1
- #0.5.1
1
+ # Changelog
2
+
3
+ ## 0.6.0
4
+
5
+ * Scaffolding now generates only the files necessary for the core gaudi functionality
6
+ * Updated documentation landing page template
7
+ * Update gem dependencies
8
+
9
+ ## 0.5.1
10
+
2
11
  * Fixed core() invocation when doing an update
3
- #0.5.0
12
+
13
+ ## 0.5.0
14
+
4
15
  * The scaffolding now only pulls gaudi core
5
16
  * Directory structure now reduced to the directories absolutely necessary for gaudi core
6
17
  * Templates and examples generated adjusted to the reduced gaudi-core functionality.
7
18
  * C/C++ functionality in config files now completely commented out
8
19
  * Doc main page for the API reference documentation added
9
20
 
10
- #0.3.1
21
+ ## 0.3.1
22
+
11
23
  * Fixed bug that would delete my gaudi repo for being stupid
12
- #0.3.0
24
+
25
+ ## 0.3.0
26
+
13
27
  * Added *deployments* and *common* subdirectories when scaffolding src
14
28
  * Added an empty library configuration file and the platform config reference
15
29
  * Added the *auto_rules* option in the system configuration
16
30
  * Pull Gaudi "libraries" with -l
17
31
 
18
- #0.2.4
32
+ ## 0.2.4
33
+
19
34
  * Fix bug when project root contains spaces
20
35
  * DRYed the code
21
- #0.2.3
36
+
37
+ ## 0.2.3
38
+
22
39
  * Check for git presence before removing old install when updating
23
40
  * Check for git presence before attempting to create a new project
24
41
  * Help message now indicates that https access and git are required
25
- #0.2.2
42
+
43
+ ## 0.2.2
44
+
26
45
  * Added update functionality
27
- #0.2.0
46
+
47
+ ## 0.2.0
48
+
28
49
  * Pulls HEAD of gaudi from GitHub in the scaffold
29
50
 
30
- #0.1.0
51
+ ## 0.1.0
52
+
31
53
  * Scaffolding code for new projects
32
- ** Directory structure
33
- ** Example system configuration
34
- ** Example platform configuration
54
+ * Directory structure
55
+ * Example system configuration
56
+ * Example platform configuration
data/Manifest.txt CHANGED
@@ -6,6 +6,5 @@ lib/gaudi.rb
6
6
  lib/gaudi/scaffolding.rb
7
7
  lib/gaudi/templates/doc.md.template
8
8
  lib/gaudi/templates/main.cfg.template
9
- lib/gaudi/templates/platform.cfg.template
10
9
  lib/gaudi/templates/rakefile.rb.template
11
10
  lib/gaudi/version.rb
data/README.md CHANGED
@@ -1,23 +1,32 @@
1
1
  # Gaudi - A Builder [http://github.com/damphyr/gaudi](http://github.com/damphyr/gaudi)
2
2
 
3
- ## DESCRIPTION:
3
+ ## DESCRIPTION
4
4
 
5
5
  This gem provides setup, scaffolding and maintenance functions for [gaudi](http://github.com/damphyr/gaudi) installations.
6
6
 
7
7
  ## USAGE
8
8
 
9
- gaudi -s project/root to create a directory structure for a Gaudi based project
10
- gaudi -u project/root to update an existing Gaudi installation
11
-
12
- ## INSTALL:
9
+ To create a directory structure for a Gaudi based project:
10
+
11
+ ```bash
12
+ gaudi -s project/root
13
+ ```
14
+
15
+ To update an existing Gaudi installation
16
+
17
+ ```bash
18
+ gaudi -u project/root
19
+ ```
20
+
21
+ ## INSTALL
13
22
 
14
23
  * (sudo) gem install gaudi
15
24
 
16
- ## LICENSE:
25
+ ## LICENSE
17
26
 
18
27
  (The MIT License)
19
28
 
20
- Copyright (c) 2014 FIX
29
+ Copyright (c) 2014-2021 Vassilis Rizopoulos
21
30
 
22
31
  Permission is hereby granted, free of charge, to any person obtaining
23
32
  a copy of this software and associated documentation files (the
data/bin/gaudi CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
- require 'gaudi'
3
- Gaudi::Gem.run(ARGV)
2
+ require "gaudi"
3
+ Gaudi::Gem.run(ARGV)
@@ -1,28 +1,29 @@
1
- require 'ostruct'
2
- require 'optparse'
3
- require 'fileutils'
4
- require 'tmpdir'
5
- require 'rubygems'
6
- require 'minitar'
1
+ require "ostruct"
2
+ require "optparse"
3
+ require "fileutils"
4
+ require "tmpdir"
5
+ require "rubygems"
6
+ require "minitar"
7
7
 
8
8
  module Gaudi
9
- class GemError <RuntimeError
9
+ class GemError < RuntimeError
10
10
  end
11
+
11
12
  class Gem
12
- MAIN_CONFIG="system.cfg"
13
- PLATFORM_CONFIG="foo.cfg"
14
- REPO="https://github.com/damphyr/gaudi"
13
+ MAIN_CONFIG = "system.cfg".freeze
14
+ REPO = "https://github.com/damphyr/gaudi".freeze
15
+
16
+ attr_reader :project_root, :gaudi_home
15
17
 
16
- attr_reader :project_root,:gaudi_home
17
- #:nodoc:
18
- def self.options arguments
18
+ # :nodoc:
19
+ def self.options(arguments)
19
20
  options = OpenStruct.new
20
- options.project_root= Dir.pwd
21
- options.verbose= false
22
- options.scaffold= false
23
- options.update= false
24
- options.library= false
25
- options.version= "HEAD"
21
+ options.project_root = Dir.pwd
22
+ options.verbose = false
23
+ options.scaffold = false
24
+ options.update = false
25
+ options.library = false
26
+ options.version = "HEAD"
26
27
 
27
28
  opt_parser = OptionParser.new do |opts|
28
29
  opts.banner = "Usage: gaudi [options]"
@@ -30,28 +31,28 @@ module Gaudi
30
31
  opts.separator ""
31
32
  opts.separator "Commands:"
32
33
 
33
- opts.on("-s", "--scaffold PROJECT_PATH","Create a Gaudi scaffold in PROJECT_PATH") do |proot|
34
- options.project_root=File.expand_path(proot)
35
- options.scaffold=true
36
- options.update=false
34
+ opts.on("-s", "--scaffold PROJECT_PATH", "Create a Gaudi scaffold in PROJECT_PATH") do |proot|
35
+ options.project_root = File.expand_path(proot)
36
+ options.scaffold = true
37
+ options.update = false
37
38
  end
38
- opts.on("-u", "--update PROJECT_PATH","Update Gaudi core from GitHub on project at PROJECT_PATH") do |proot|
39
- options.project_root=File.expand_path(proot)
40
- options.update=true
41
- options.scaffold=false
39
+ opts.on("-u", "--update PROJECT_PATH", "Update Gaudi core from GitHub on project at PROJECT_PATH") do |proot|
40
+ options.project_root = File.expand_path(proot)
41
+ options.update = true
42
+ options.scaffold = false
42
43
  end
43
- opts.on("-l", "--lib NAME URL PROJECT_PATH","Pull/Update Gaudi library from URL on project at PROJECT_PATH") do |name|
44
- options.library=true
45
- options.update=false
46
- options.scaffold=false
47
- options.lib=name
48
- if ARGV.size<2
49
- raise GemError, "Missing parameters!"
50
- end
51
- url=ARGV.shift
52
- proot=ARGV.shift
53
- options.url=url
54
- options.project_root=File.expand_path(proot)
44
+ opts.on("-l", "--lib NAME URL PROJECT_PATH", "Pull/Update Gaudi library from URL on project at PROJECT_PATH") do |name|
45
+ options.library = true
46
+ options.update = false
47
+ options.scaffold = false
48
+ options.lib = name
49
+
50
+ raise GemError, "Missing parameters!" if ARGV.size < 2
51
+
52
+ url = ARGV.shift
53
+ proot = ARGV.shift
54
+ options.url = url
55
+ options.project_root = File.expand_path(proot)
55
56
  end
56
57
  opts.separator ""
57
58
  opts.separator "Common options:"
@@ -76,16 +77,16 @@ module Gaudi
76
77
  end
77
78
  return options
78
79
  end
79
- #:nodoc:
80
- def self.run args
81
- opts=options(args)
80
+ # :nodoc:
81
+ def self.run(args)
82
+ opts = options(args)
82
83
  begin
83
84
  if opts.scaffold
84
85
  Gaudi::Gem.new(opts.project_root).project(opts.version)
85
86
  elsif opts.update
86
87
  Gaudi::Gem.new(opts.project_root).update(opts.version)
87
88
  elsif opts.library
88
- Gaudi::Gem.new(opts.project_root).library(opts.lib,opts.url,opts.version)
89
+ Gaudi::Gem.new(opts.project_root).library(opts.lib, opts.url, opts.version)
89
90
  end
90
91
  rescue Gaudi::GemError
91
92
  puts $!.message
@@ -93,142 +94,120 @@ module Gaudi
93
94
  end
94
95
  end
95
96
 
96
- def initialize project_root
97
- @project_root=project_root
98
- @gaudi_home=File.join(project_root,"tools","build")
97
+ def initialize(project_root)
98
+ @project_root = project_root
99
+ @gaudi_home = File.join(project_root, "tools", "build")
99
100
  end
100
-
101
- def project version
101
+
102
+ def project(version)
102
103
  raise GemError, "#{project_root} already exists!" if File.exist?(project_root) && project_root != Dir.pwd
104
+
103
105
  check_for_git
104
106
  directory_structure
105
107
  rakefile
106
108
  main_config
107
- platform_config
108
- lib_config
109
109
  api_doc
110
- core("gaudi",REPO,version,"lib/gaudi.rb lib/gaudi")
110
+ core(REPO, version, "lib/gaudi.rb lib/gaudi")
111
111
  end
112
112
 
113
- def update version
113
+ def update(version)
114
114
  raise GemError, "#{gaudi_home} is missing! Try creating a new Gaudi project first." unless File.exist?(gaudi_home)
115
+
115
116
  check_for_git
116
117
  puts "Removing old gaudi installation"
117
- FileUtils.rm_rf(File.join(gaudi_home,"lib/gaudi"))
118
- core("gaudi",REPO,version,"lib/gaudi lib/gaudi.rb")
118
+ FileUtils.rm_rf(File.join(gaudi_home, "lib/gaudi"))
119
+ core(REPO, version, "lib/gaudi lib/gaudi.rb")
119
120
  end
120
121
 
121
- def library lib,source_url,version
122
+ def library(lib, source_url, version)
122
123
  raise GemError, "#{gaudi_home} is missing! Try creating a new Gaudi project first." unless File.exist?(gaudi_home)
123
- #check_for_git
124
+
124
125
  puts "Removing old #{lib} installation"
125
- FileUtils.rm_rf(File.join(gaudi_home,"lib/#{lib}"))
126
+ FileUtils.rm_rf(File.join(gaudi_home, "lib/#{lib}"))
126
127
  puts "Pulling #{version} from #{source_url}"
127
- core(lib,source_url,version,"lib/#{lib}")
128
+ core(source_url, version, "lib/#{lib}")
128
129
  end
129
- #:stopdoc:
130
+
131
+ # :stopdoc:
130
132
  def check_for_git
131
133
  raise GemError, "Could not find git. Make sure it is in the PATH" unless system("git --version")
132
134
  end
133
-
135
+
134
136
  def directory_structure
135
137
  puts "Creating Gaudi filesystem structure at #{project_root}"
136
- structure=["doc","tools/build/config","tools/templates"]
138
+ structure = ["doc", "tools/build/config", "tools/templates"]
137
139
  structure.each do |dir|
138
- FileUtils.mkdir_p File.join(project_root,dir),:verbose=>false
140
+ FileUtils.mkdir_p File.join(project_root, dir), :verbose => false
139
141
  end
140
142
  end
141
-
143
+
142
144
  def rakefile
143
145
  puts "Generating main Rakefile"
144
- rakefile=File.join(project_root,"Rakefile")
146
+ rakefile = File.join(project_root, "Rakefile")
145
147
  if File.exist?(rakefile)
146
148
  puts "Rakefile exists, skipping generation"
147
149
  else
148
- rakefile_content=File.read(File.join(File.dirname(__FILE__),'templates/rakefile.rb.template'))
149
- File.open(rakefile, 'wb') {|f| f.write(rakefile_content) }
150
+ rakefile_content = File.read(File.join(File.dirname(__FILE__), "templates/rakefile.rb.template"))
151
+ File.open(rakefile, "wb") { |f| f.write(rakefile_content) }
150
152
  end
151
153
  end
152
-
154
+
153
155
  def main_config
154
156
  puts "Generating initial configuration file"
155
- config_file=File.join(project_root,"tools/build/#{MAIN_CONFIG}")
157
+ config_file = File.join(project_root, "tools/build/#{MAIN_CONFIG}")
156
158
  if File.exist?(config_file)
157
159
  puts "#{MAIN_CONFIG} exists, skipping generation"
158
160
  else
159
- configuration_content=File.read(File.join(File.dirname(__FILE__),'templates/main.cfg.template'))
160
- File.open(config_file, 'wb') {|f| f.write(configuration_content) }
161
- end
162
- end
163
-
164
- def platform_config
165
- puts "Generating example platform configuration file"
166
- config_file=File.join(project_root,"tools/build/#{PLATFORM_CONFIG}")
167
- if File.exist?(config_file)
168
- puts "#{PLATFORM_CONFIG} exists, skipping generation"
169
- else
170
- configuration_content=File.read(File.join(File.dirname(__FILE__),'templates/platform.cfg.template'))
171
- File.open(config_file, 'wb') {|f| f.write(configuration_content) }
172
- end
173
- end
174
-
175
- def lib_config
176
- puts "Generating example library configuration file"
177
- config_file=File.join(project_root,"tools/build/libs.yaml")
178
- if File.exist?(config_file)
179
- puts "libs.yaml exists, skipping generation"
180
- else
181
- configuration_content="---\n"
182
- File.open(config_file, 'wb') {|f| f.write(configuration_content) }
161
+ configuration_content = File.read(File.join(File.dirname(__FILE__), "templates/main.cfg.template"))
162
+ File.open(config_file, "wb") { |f| f.write(configuration_content) }
183
163
  end
184
164
  end
185
165
 
186
166
  def api_doc
187
167
  puts "Generating build system API doc"
188
- config_file=File.join(project_root,"doc/BUILDSYSTEM.md")
168
+ config_file = File.join(project_root, "doc/BUILDSYSTEM.md")
189
169
  if File.exist?(config_file)
190
170
  puts "BUILDSYSTEM.md exists, skipping generation"
191
171
  else
192
- configuration_content=File.read(File.join(File.dirname(__FILE__),'templates/doc.md.template'))
193
- File.open(config_file, 'wb') {|f| f.write(configuration_content) }
172
+ configuration_content = File.read(File.join(File.dirname(__FILE__), "templates/doc.md.template"))
173
+ File.open(config_file, "wb") { |f| f.write(configuration_content) }
194
174
  end
195
175
  end
196
176
 
197
- def core(lib,url,version,lib_items)
177
+ def core(url, version, lib_items)
198
178
  Dir.mktmpdir do |tmp|
199
- if pull_from_repo(url,tmp)
200
- pkg=archive(version,File.join(tmp,"gaudi"),project_root,lib_items)
201
- unpack(pkg,gaudi_home)
202
- else
203
- raise GemError, "Cloning the Gaudi repo failed. Check that git is on the PATH and that #{REPO} is accessible"
204
- end
179
+ raise GemError, "Cloning the Gaudi repo failed. Check that git is on the PATH and that #{REPO} is accessible" unless pull_from_repo(url, tmp)
180
+
181
+ pkg = archive(version, File.join(tmp, "gaudi"), project_root, lib_items)
182
+ unpack(pkg, gaudi_home)
205
183
  end
206
184
  end
207
185
 
208
- def pull_from_repo repository,tmp
209
- tmp_dir=File.join(tmp,'gaudi')
186
+ def pull_from_repo(repository, tmp)
187
+ tmp_dir = File.join(tmp, "gaudi")
210
188
  FileUtils.rm_rf(tmp_dir) if File.exist?(tmp_dir)
211
189
  system "git clone #{repository} \"#{tmp_dir}\""
212
190
  end
213
-
214
- def archive version,clone_path,prj_root,lib_items
215
- pkg=File.expand_path(File.join(prj_root,"gaudipkg.tar"))
191
+
192
+ def archive(version, clone_path, prj_root, lib_items)
193
+ pkg = File.expand_path(File.join(prj_root, "gaudipkg.tar"))
216
194
  Dir.chdir(clone_path) do |d|
217
195
  puts "Packing #{version} gaudi version in #{pkg}"
218
- cmdline="git archive --format=tar -o \"#{pkg}\" #{version} #{lib_items}"
219
- system(cmdline)
196
+ cmdline = "git archive --format=tar -o \"#{pkg}\" #{version} #{lib_items}"
197
+ raise GemError, "Failed to extract library from git" unless system(cmdline)
220
198
  end
221
199
  return pkg
222
200
  end
223
-
224
- def unpack pkg,home
201
+
202
+ def unpack(pkg, home)
225
203
  puts "Unpacking in #{home}"
226
204
  Dir.chdir(home) do |d|
227
205
  Minitar.unpack(pkg, home)
228
206
  end
229
207
  FileUtils.rm_rf(pkg)
230
- FileUtils.rm_rf(File.join(home,'pax_global_header'))
208
+ FileUtils.rm_rf(File.join(home, "pax_global_header"))
231
209
  end
232
- #:startdoc:
210
+
211
+ # :startdoc:
233
212
  end
234
- end
213
+ end
@@ -1,15 +1,57 @@
1
- # Build System Reference
1
+ # Build System
2
2
 
3
- This is the gaudi API documentation for all helpers and tasks.
3
+ > Note: The build system is based on [Rake](https://github.com/ruby/rake/blob/master/README.rdoc), using [Gaudi](https://github.com/damphyr/gaudi/blob/master/README.md) to organise tasks and helpers.
4
4
 
5
- ## Important sections
5
+ ## Purpose
6
6
 
7
- Gaudi::Configuration::EnvironmentOptions lists all available environment options
7
+ The purpose of the build system is to provide a consistent UI across all the different tools and technologies used to build and test and to provide a single place to define and maintain configuration parameters for the development environment.
8
8
 
9
- ## Generate
9
+ ## Assumptions
10
10
 
11
+ The build system is tested with and assumes an environment where all the necessary tools are installed and correctly configured - something that is handled by the development environment provisioning scripts.
12
+
13
+ ## Usage and important sections
14
+
15
+ The code in the build system is namespaced in Ruby modules.
16
+
17
+ The Gaudi module contains the core of the build system which handles loading the configuration, the build system modules and provides only a limited number of helper functions and built-in tasks. These are documented in the [Gaudi](https://github.com/damphyr/gaudi) repository.
18
+
19
+ ### Environment variables
20
+
21
+ By convention, Gaudi uses environment variables to pass parameters to its tasks and control functionality. This is described in more detail in the [Gaudi core documentation](https://github.com/damphyr/gaudi/blob/master/doc/CONFIGURATION.md).
22
+
23
+ Environment variables that influence/parameterise the build system behaviour are defined in [Gaudi::Configuration::EnvironmentOptions](../tools/build/lib/gaudi/helpers/environment.rb).
24
+
25
+ ### System Configuration
26
+
27
+ The top-level [Rakefile](../Rakefile) sets up Gaudi, which then loads the [system configuration](../tools/build/system.cfg) and modules.
28
+
29
+ ### Find out what tasks are available
30
+
31
+ From the [root](..) of the repository
32
+
33
+ List all tasks, with comments
34
+
35
+ ```bash
36
+ rake -T
37
+ ```
38
+
39
+ List all tasks, with comments, that match a regular expression pattern
40
+
41
+ ```bash
42
+ rake -T <pattern>
11
43
  ```
44
+
45
+ ### Generate the reference documentation
46
+
47
+ Generate the documentation under `out/doc/gaudi`
48
+
49
+ ```bash
12
50
  rake doc:gaudi
13
51
  ```
14
52
 
15
- to generate the documentation under *out/doc/gaudi*.
53
+ Generate a graphical overview (graphviz) of the tasks and their dependencies
54
+
55
+ ```bash
56
+ rake doc:graph:gaudi
57
+ ```
@@ -6,14 +6,4 @@ base=../../
6
6
  out=../../out
7
7
 
8
8
  ## gaudi-c extended options
9
- ##uncomment the options below if you're going to use the gaudi-c module for C/C++ builds
10
- #gaudi_modules=gaudi-c
11
- #Comma separated list of directory to search for source files
12
- #sources=../../src/
13
- #enumerate the platforms i.e. platforms=gcc,ms,arm
14
- #platforms= foo
15
- #add a platform=platform.cfg for each platform pointing to the platform configuration
16
- #foo=./foo.cfg
17
- #Instead of specifying build rules manually, uncomment this line
18
- #and gaudi will create rake rules for objects and executables for each target platform
19
- #auto_rules=true
9
+ #gaudi_modules=
data/lib/gaudi/version.rb CHANGED
@@ -1,15 +1,15 @@
1
1
  module Gaudi
2
- #Gaudi follows SemVer and so does it's gem, but they're two separate things
2
+ # Gaudi follows SemVer and so does it's gem, but they're two separate things
3
3
  class Gem
4
4
  module Version
5
- #Major version
6
- MAJOR=0
7
- #Minor version
8
- MINOR=5
9
- #Tiny version
10
- TINY=1
11
- #All-in-one
12
- STRING=[MAJOR,MINOR,TINY].join('.')
5
+ # Major version
6
+ MAJOR = 0
7
+ # Minor version
8
+ MINOR = 6
9
+ # Tiny version
10
+ TINY = 0
11
+ # All-in-one
12
+ STRING = [MAJOR, MINOR, TINY].join(".")
13
13
  end
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gaudi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vassilis Rizopoulos
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-04 00:00:00.000000000 Z
11
+ date: 2021-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitar
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.6.1
19
+ version: '0.9'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.6.1
26
+ version: '0.9'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rdoc
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -50,19 +50,18 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '3.17'
53
+ version: '3.23'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '3.17'
61
- description: "## DESCRIPTION:\n\nThis gem provides setup, scaffolding and maintenance
62
- functions for [gaudi](http://github.com/damphyr/gaudi) installations.\n\n## USAGE\n\ngaudi
63
- -s project/root to create a directory structure for a Gaudi based project \ngaudi
64
- -u project/root to update an existing Gaudi installation\n \n## INSTALL:\n\n*
65
- (sudo) gem install gaudi"
60
+ version: '3.23'
61
+ description: "## DESCRIPTION\n\nThis gem provides setup, scaffolding and maintenance
62
+ functions for [gaudi](http://github.com/damphyr/gaudi) installations.\n\n## USAGE\n\nTo
63
+ create a directory structure for a Gaudi based project:\n\n```bash\ngaudi -s project/root
64
+ \ \n```"
66
65
  email:
67
66
  - vassilisrizopoulos@gmail.com
68
67
  executables:
@@ -81,14 +80,14 @@ files:
81
80
  - lib/gaudi/scaffolding.rb
82
81
  - lib/gaudi/templates/doc.md.template
83
82
  - lib/gaudi/templates/main.cfg.template
84
- - lib/gaudi/templates/platform.cfg.template
85
83
  - lib/gaudi/templates/rakefile.rb.template
86
84
  - lib/gaudi/version.rb
87
85
  homepage: http://github.com/damphyr/gaudi
88
86
  licenses:
89
87
  - MIT
90
- metadata: {}
91
- post_install_message:
88
+ metadata:
89
+ homepage_uri: http://github.com/damphyr/gaudi
90
+ post_install_message:
92
91
  rdoc_options:
93
92
  - "--main"
94
93
  - README.md
@@ -105,9 +104,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
104
  - !ruby/object:Gem::Version
106
105
  version: '0'
107
106
  requirements: []
108
- rubyforge_project:
109
- rubygems_version: 2.5.2
110
- signing_key:
107
+ rubygems_version: 3.1.6
108
+ signing_key:
111
109
  specification_version: 4
112
110
  summary: Scaffolding and version management for Gaudi
113
111
  test_files: []
@@ -1,42 +0,0 @@
1
- ##### Source file settings
2
- #all extension parameters are mandatory
3
- source_extensions= .c,.asm #comma separated list of file extensions
4
- header_extensions= .h #comma separated list of file extensions
5
- object_extension= .o #single entry
6
- library_extension= .so #single entry
7
- executable_extension= .e #single entry
8
- ######Compiler settings
9
- #Compiler executable (gcc etc.)
10
- compiler=
11
- #command line options for the compiler (-o2 etc.)
12
- compiler_options=
13
- #Output flag
14
- compiler_out=
15
- #Command file flag (to make the compiler read the prameters from a file)
16
- compiler_commandfile_prefix=
17
- #Include path flag
18
- compiler_include=
19
- #### Basically the set above is repeated the for the linker (libraries and executables) and the assembler
20
- #####Assembler settings
21
- assembler=
22
- assembler_options=
23
- assembler_commandfile_prefix=
24
- assembler_out=
25
- assembler_include=
26
- #####Settings for linking libraries
27
- librarian=
28
- library_options=
29
- library_in=
30
- library_out=
31
- library_commandfile_prefix=
32
- #####Settings for linking executables
33
- linker=
34
- linker_options=
35
- #input files flag (some linkers do have it. You prefix every object file with it, yes you do)
36
- linker_in=
37
- linker_out=
38
- #Flag for linked libraries (shared or dynamic)
39
- linker_lib=
40
- linker_commandfile_prefix=
41
- #The library configuration file
42
- lib_cfg=libs.yaml