ceedling 0.9.0 → 0.9.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/examples/temp_sensor/project.yml +1 -0
- data/lib/ceedling/version.rb +2 -2
- data/lib/ceedling/version.rb.erb +1 -1
- data/new_project_template/project.yml +2 -1
- data/new_project_template/vendor/ceedling/plugins/module_generator/module_generator.rb +2 -9
- data/new_project_template/vendor/ceedling/release/build.info +1 -1
- metadata +3 -3
data/lib/ceedling/version.rb
CHANGED
data/lib/ceedling/version.rb.erb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
:use_auxiliary_dependencies: TRUE
|
12
12
|
:build_root: build
|
13
13
|
# :release_build: TRUE
|
14
|
-
:test_file_prefix:
|
14
|
+
:test_file_prefix: test_
|
15
15
|
|
16
16
|
#:release_build:
|
17
17
|
# :output: MyApp.out
|
@@ -62,4 +62,5 @@
|
|
62
62
|
- vendor/ceedling/plugins
|
63
63
|
:enabled:
|
64
64
|
- stdout_pretty_tests_report
|
65
|
+
- module_generator
|
65
66
|
...
|
@@ -95,8 +95,7 @@ class ModuleGenerator < Plugin
|
|
95
95
|
@ceedling[:streaminator].stdout_puts "Destroying '#{path}'..."
|
96
96
|
@files.each do |file|
|
97
97
|
if File.exist?(file[:path])
|
98
|
-
@ceedling[:
|
99
|
-
@ceedling[:streaminator].stdout_puts "File #{file[:path]} deleted and removed from source control"
|
98
|
+
@ceedling[:streaminator].stdout_puts "File #{file[:path]} deleted"
|
100
99
|
else
|
101
100
|
@ceedling[:streaminator].stdout_puts "File #{file[:path]} does not exist!"
|
102
101
|
end
|
@@ -108,7 +107,6 @@ class ModuleGenerator < Plugin
|
|
108
107
|
|
109
108
|
[File.dirname(@files[0][:path]), File.dirname(@files[1][:path])].each do |dir|
|
110
109
|
makedirs(dir, {:verbose => true})
|
111
|
-
@ceedling[:tool_executor].exec("svn add \"#{dir}\"")
|
112
110
|
end
|
113
111
|
|
114
112
|
# define_name = headername.gsub(/\.h$/, '_H').upcase
|
@@ -124,12 +122,7 @@ class ModuleGenerator < Plugin
|
|
124
122
|
File.open(file[:path], 'w') do |new_file|
|
125
123
|
new_file << ERB.new(file[:template], 0, "<>").result(binding)
|
126
124
|
end
|
127
|
-
@ceedling[:
|
128
|
-
if $?.exitstatus == 0
|
129
|
-
@ceedling[:streaminator].stdout_puts "File #{file[:path]} created and added to source control"
|
130
|
-
else
|
131
|
-
@ceedling[:streaminator].stdout_puts "File #{file[:path]} created but FAILED adding to source control!"
|
132
|
-
end
|
125
|
+
@ceedling[:streaminator].stdout_puts "File #{file[:path]} created"
|
133
126
|
end
|
134
127
|
end
|
135
128
|
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
216
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ceedling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 2
|
10
|
+
version: 0.9.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mike Karlesky, Mark VanderVoord
|