git.cweiske.de
/
shpub.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db65bc0
)
Do not overwrite dist/*.phar files
v0.5.0
author
Christian Weiske
<
[email protected]
>
Mon, 28 Aug 2017 15:17:45 +0000
(17:17 +0200)
committer
Christian Weiske
<
[email protected]
>
Mon, 28 Aug 2017 15:17:45 +0000
(17:17 +0200)
build.xml
patch
|
blob
|
history
diff --git
a/build.xml
b/build.xml
index 12a01f33b01be54000c555b66062a131f9cec58e..c57735d55fdb8b2641ea3f03294e794715750fe8 100644
(file)
--- a/
build.xml
+++ b/
build.xml
@@
-31,7
+31,10
@@
</copy>
<mkdir dir="${phing.dir}/dist"/>
- <!-- <delete file="${pharfile}"/> -->
+
+ <available file="${pharfile}" property="phar_exists" value="1"/>
+ <fail if="phar_exists" message="File exists already: ${pharfile}"/>
+
<pharpackage basedir="${phing.dir}"
destfile="${pharfile}"
stub="${phing.dir}/src/phar-stub.php"