Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
s_ibanshou
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋林
s_ibanshou
Commits
527965ad
Commit
527965ad
authored
Jun 26, 2017
by
夏彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加自动化构建的代码
parent
8381d679
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
93 additions
and
1 deletion
+93
-1
.gitignore
.gitignore
+2
-1
build.properties
build.properties
+22
-0
build.xml
build.xml
+47
-0
build_win.properties
build_win.properties
+22
-0
No files found.
.gitignore
View file @
527965ad
...
...
@@ -5,4 +5,5 @@
/pinlei
/pinpai
/t
/d/file
\ No newline at end of file
/d/file
/build/
build.properties
0 → 100644
View file @
527965ad
version
=
1.0.0
commit
=
"none"
name
=
${phing.project.name}
author.name
=
"xiabin"
author.email
=
"xiabin@pp.cc"
author.username
=
"xiabin"
pear.channel
=
"pear.marcelog.name"
dir.output
=
${project.basedir}/build
dir.fe_output
=
${project.basedir}/static/assets
dir.tmp
=
${dir.output}/tmp
dir.front_end
=
${project.basedir}/static
node
=
/home/ops/dev/node/bin/node
webpack
=
${node} /home/ops/dev/node/bin/webpack
npm
=
/home/ops/dev/node/bin/npm
cnpm
=
${node} /home/ops/dev/node/bin/cnpm
ftp.host
=
192.168.1.35
ftp.port
=
40021
ftp.username
=
pp_pro
ftp.password
=
8XFX`kAox4j_or1&m=$q0d87bx
ftp.dir
=
./
php.bin
=
/usr/local/webserver/php715/bin/php
defaultpear.bin
=
/home/ops/dev/pear/bin/pear
build.xml
0 → 100644
View file @
527965ad
<project
name=
"zuiketang"
default=
"all"
basedir=
"./"
>
<echo
message=
"platform ${platform}"
/>
<if>
<equals
arg1=
"${platform}"
arg2=
"win"
/>
<then>
<property
file=
"${project.basedir}/build_win.properties"
/>
</then>
<else>
<property
file=
"./build.properties"
/>
</else>
</if>
<!--创建构建输出目录-->
<target
name=
"prepare"
depends=
"clean"
>
<mkdir
dir=
"${dir.output}"
/>
</target>
<!--清空构建输出目录-->
<target
name=
"clean"
>
<delete
dir=
"${dir.output}"
/>
</target>
<!-- 初始化框架 -->
<target
name=
"init"
depends=
"prepare"
>
<echo
message=
"copy to build start"
/>
<!--copy common -->
<copy
todir=
"${dir.output}/"
>
<fileset
dir=
"./"
>
<patternset>
<exclude
name=
"e/config/"
/>
<include
name=
"**/**"
/>
</patternset>
</fileset>
</copy>
<delete
file=
"${dir.output}/build.xml"
/>
<delete
file=
"${dir.output}/build.properties"
/>
<delete
file=
"${dir.output}/build_win.properties"
/>
<echo
message=
"copy to build end"
/>
</target>
<target
name=
"all"
depends=
"init"
/>
</project>
build_win.properties
0 → 100644
View file @
527965ad
version
=
1.0.0
commit
=
"none"
name
=
${phing.project.name}
author.name
=
"xiabin"
author.email
=
"xiabin@pp.cc"
author.username
=
"xiabin"
pear.channel
=
"pear.marcelog.name"
dir.output
=
${project.basedir}/build
dir.fe_output
=
${project.basedir}/static/assets
dir.front_end
=
${project.basedir}/static
node
=
node
webpack
=
webpack
npm
=
cnpm
cnpm
=
cnpm
ftp.host
=
114.112.81.8
ftp.port
=
40021
ftp.username
=
pp_pro
ftp.password
=
8XFX`kAox4j_or1&m=$q0d87bx
ftp.dir
=
php.bin
=
php
defaultpear.bin
=
pear
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment