File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 12
12
<!-- directory structure setup -->
13
13
<property name =" ledcontrol.src" value =" ${ basedir } /LedControl" />
14
14
<property name =" dist.dir" value =" ${ basedir } /dist" />
15
- <loadproperties srcFile =" local.properties" />
16
15
17
16
<target name =" help" >
18
17
<echo message ="
19
- Buildscript for packaging and installing the Arduino LedControl library ${ line.separator }
20
- 'ant zip' create a zip-file of the library ${ line.separator }
21
- 'ant install' install the library into the users sketchbook ${ line.separator }
18
+ Buildscript for packaging the Arduino LedControl library ${ line.separator }
19
+ 'ant dist' create a zip-file of the library in ${ dist.dir } ${ line.separator }
22
20
"
23
21
/>
24
22
25
23
</target >
26
24
27
25
<!-- create the text display zip files for library distribuion -->
28
- <target name =" ledcontrol.zip " >
26
+ <target name =" ledcontrol.dist " >
29
27
<mkdir dir =" ${ dist.dir } " />
30
28
<delete file =" ${ dist.dir } /LedControl-${ ledcontrol.zip-version } .zip" />
31
29
<zip destfile =" ${ dist.dir } /LedControl-${ ledcontrol.zip-version } .zip" >
44
42
</zip >
45
43
</target >
46
44
47
- <target name =" ledcontrol.install" depends =" ledcontrol.zip" >
48
- <unzip src =" ${ dist.dir } /LedControl-${ ledcontrol.zip-version } .zip"
49
- dest =" ${ install.dir } "
50
- overwrite =" true" />
51
- </target >
52
-
53
- <target name =" install" depends =" ledcontrol.install" />
54
-
55
45
56
46
<!-- create all zip files for library distribuion -->
57
- <target name =" zip " depends =" ledcontrol.zip " />
47
+ <target name =" dist " depends =" ledcontrol.dist " />
58
48
59
49
</project >
60
50
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments