rake-delphi 0.0.11 → 0.0.12

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.
@@ -159,15 +159,15 @@ module Rake
159
159
  return @quiet ? '-Q' : ''
160
160
  end
161
161
 
162
- def aliases
162
+ def _aliases
163
163
  return @aliases ? Rake.quotepath('-A', @aliases) : ''
164
164
  end
165
165
 
166
- def namespaces
166
+ def _namespaces
167
167
  return @namespaces ? Rake.quotepath('-NS', @namespaces) : ''
168
168
  end
169
169
 
170
- def dcuoutput
170
+ def _dcuoutput
171
171
  return @dcuoutput || @dcu || @_source.pathmap('%d%sdcu')
172
172
  end
173
173
 
@@ -175,7 +175,7 @@ module Rake
175
175
  return @console.nil? ? '' : (@console ? '-CC' : '-CG')
176
176
  end
177
177
 
178
- def map
178
+ def _map
179
179
  # segments -> -GS
180
180
  # publics -> -GP
181
181
  # detailed -> -GD
@@ -184,14 +184,14 @@ module Rake
184
184
  return '-G' + segments
185
185
  end
186
186
 
187
- def alldebuginfo
187
+ def _alldebuginfo
188
188
  return @debuginfo ? '-$D+ -$L+ -$YD' : '-$D- -$L- -$Y-'
189
189
  end
190
190
 
191
191
  def outputs
192
192
  os = []
193
193
  os << Rake.quotepath('-E', exeoutput)
194
- os << Rake.quotepath('-N', dcuoutput)
194
+ os << Rake.quotepath('-N', _dcuoutput)
195
195
  os << Rake.quotepath('-LE', @bploutput)
196
196
  return os
197
197
  end
@@ -200,18 +200,18 @@ module Rake
200
200
  return Rake.quotepath('', @_source.pathmap('%f'))
201
201
  end
202
202
 
203
- def defines
203
+ def _defines
204
204
  '-D' + @defines if @defines
205
205
  end
206
206
 
207
- def writeableconst
207
+ def _writeableconst
208
208
  return '-$J' + (@writeableconst ? '+' : '-')
209
209
  end
210
210
 
211
211
  def build_args
212
212
  args = []
213
- args << @dccTool.options << dcc_options << build? << console? << warnings? << hints? << quiet? << debug? << alldebuginfo << map
214
- args << defines << writeableconst << aliases << namespaces
213
+ args << @dccTool.options << dcc_options << build? << console? << warnings? << hints? << quiet? << debug? << _alldebuginfo << _map
214
+ args << _defines << _writeableconst << _aliases << _namespaces
215
215
  args << _source << outputs << implicitpaths
216
216
  args.flatten
217
217
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rake
4
4
  module Delphi
5
- VERSION = '0.0.11'
5
+ VERSION = '0.0.12'
6
6
  end
7
7
  end
@@ -45,6 +45,7 @@ module TestAndroidModule
45
45
 
46
46
  dpr_vars[:bin] = File.expand_path2(dpr_vars[:bin_path])
47
47
  dpr.init(Module.nesting, File.expand_path(__FILE__), dpr_vars, 0)
48
+ dpr.application[dpr.name + ':dcc32'].namespaces << ';FMX'
48
49
 
49
50
  directory dpr_vars[:bin_path]
50
51
  _task.enhance [dpr_vars[:bin_path], dpr]
@@ -3,7 +3,7 @@ program TestProject;
3
3
  uses
4
4
  System.StartUpCopy,
5
5
  FMX.MobilePreview,
6
- FMX.Forms,
6
+ Forms,
7
7
  fmTest in 'fmTest.pas' {TestForm};
8
8
 
9
9
  {$R *.res}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-delphi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -191,7 +191,6 @@ files:
191
191
  - test/resources/testproject-android/Rakefile.rb
192
192
  - test/resources/testproject-android/release.dcc.cfg
193
193
  - test/resources/testproject-android/resources.rc
194
- - test/resources/testproject-android/resources.res
195
194
  - test/resources/testproject-android/TestProject.cfg
196
195
  - test/resources/testproject-android/TestProject.dpr
197
196
  - test/resources/testproject-android/TestProject.rc
@@ -272,7 +271,6 @@ test_files:
272
271
  - test/resources/testproject-android/Rakefile.rb
273
272
  - test/resources/testproject-android/release.dcc.cfg
274
273
  - test/resources/testproject-android/resources.rc
275
- - test/resources/testproject-android/resources.res
276
274
  - test/resources/testproject-android/TestProject.cfg
277
275
  - test/resources/testproject-android/TestProject.dpr
278
276
  - test/resources/testproject-android/TestProject.rc