File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
eclipse/org.mybatis.generator.eclipse.site Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 31
31
by pulling a current copy from jfrog)
32
32
33
33
-->
34
- <project name =" project" default =" updateRepo" >
34
+ <project name =" project" default =" writeScript" >
35
+ <condition property =" isUnix" >
36
+ <os family =" unix" />
37
+ </condition >
38
+
35
39
<target name =" init" >
36
40
<property name =" repo.drops.dir" value =" ${p2.repo.base.directory}/drops" />
37
41
<property name =" repo.zipped.dir" value =" ${p2.repo.base.directory}/zipped" />
78
82
<include name =" *.xml" />
79
83
</fileset >
80
84
</replaceregexp >
85
+ </target >
81
86
87
+ <target name =" writeScript" depends =" updateRepo" if =" isUnix" >
82
88
<!-- setup the shebang and variables -->
83
89
<echo message =" #!/bin/bash${line.separator}" file =" ${p2.repo.base.directory}/jfrogUpload.sh" />
84
90
<echo message =" USER=xxxx${line.separator}" file =" ${p2.repo.base.directory}/jfrogUpload.sh" append =" true" />
102
108
103
109
<!-- make it executable -->
104
110
<chmod perm =" +x" file =" ${p2.repo.base.directory}/jfrogUpload.sh" />
105
-
106
111
</target >
107
112
</project >
You can’t perform that action at this time.
0 commit comments