File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 220
220
</target >
221
221
222
222
<!-- copy library folder -->
223
- <target name =" assemble-libraries" unless =" light_bundle" >
223
+ <target name =" assemble-libraries" depends =" assemble-libraries-full, assemble-libraries-light" />
224
+ <target name =" assemble-libraries-full" unless =" light_bundle" >
224
225
<copy todir =" ${ target.path } /libraries" >
225
226
<fileset dir =" ../libraries" />
226
227
</copy >
236
237
<download-library name =" Mouse" version =" 1.0.1" />
237
238
<download-library name =" Keyboard" version =" 1.0.1" />
238
239
</target >
240
+ <target name =" assemble-libraries-light" if =" light_bundle" >
241
+ <mkdir dir =" ${ target.path } /libraries" />
242
+ </target >
239
243
240
244
<macrodef name =" download-library" >
241
245
<attribute name =" name" />
254
258
</macrodef >
255
259
256
260
<!-- copy hardware folder -->
257
- <target name =" assemble-hardware" unless =" light_bundle" >
261
+ <target name =" assemble-hardware" depends =" assemble-hardware-full, assemble-hardware-light" />
262
+ <target name =" assemble-hardware-full" unless =" light_bundle" >
258
263
<copy todir =" ${ target.path } /hardware" >
259
264
<fileset dir =" ../hardware" >
260
265
<exclude name =" arduino/sam/**" />
261
266
</fileset >
262
267
</copy >
263
268
</target >
269
+ <target name =" assemble-hardware-light" if =" light_bundle" >
270
+ <copy file =" ../hardware/package_index_bundled.json" todir =" ${ target.path } /hardware" />
271
+ </target >
264
272
265
273
<!-- - - - - - - - - -->
266
274
<!-- Revision check -->
You can’t perform that action at this time.
0 commit comments