Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
454d1e0b
Commit
454d1e0b
authored
Nov 17, 2010
by
Benjamin Eberlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enhance build.xml to allow (almost) one-step deployment.
parent
f59df8ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
2 deletions
+27
-2
build.properties.dev
build.properties.dev
+2
-0
build.xml
build.xml
+25
-2
No files found.
build.properties.dev
View file @
454d1e0b
...
@@ -3,6 +3,8 @@ stability=beta
...
@@ -3,6 +3,8 @@ stability=beta
build.dir=build
build.dir=build
dist.dir=dist
dist.dir=dist
report.dir=reports
report.dir=reports
project.pirum_dir=
project.download_dir=
log.archive.dir=logs
log.archive.dir=logs
svn.path=/usr/bin/svn
svn.path=/usr/bin/svn
test.phpunit_configuration_file=
test.phpunit_configuration_file=
...
...
build.xml
View file @
454d1e0b
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
<!--
<!--
Builds distributable PEAR packages.
Builds distributable PEAR packages.
-->
-->
<target
name=
"build-packages"
depends=
"build"
>
<target
name=
"build-packages"
depends=
"build
-dbal
"
>
<d51pearpkg2
baseinstalldir=
"/"
dir=
"${build.dir}/doctrine-dbal"
>
<d51pearpkg2
baseinstalldir=
"/"
dir=
"${build.dir}/doctrine-dbal"
>
<name>
DoctrineDBAL
</name>
<name>
DoctrineDBAL
</name>
<summary>
Doctrine Database Abstraction Layer
</summary>
<summary>
Doctrine Database Abstraction Layer
</summary>
...
@@ -173,5 +173,28 @@
...
@@ -173,5 +173,28 @@
</tar>
</tar>
</target>
</target>
<!-- Distribute Package using Pirum -->
<target
name=
"git-tag"
>
<exec
command=
"git tag -a ${version}"
/>
<exec
command=
"git push origin ${version}"
/>
</target>
<target
name=
"pirum-release"
>
<exec
command=
"pirum add ${project.pirum_dir} ${project.basedir}/dist/DoctrineDBAL-${version}.tgz"
command=
"."
/>
<exec
command=
"prium build ${project.pirum_dir}"
/>
</target>
<target
name=
"distribute-download"
>
<copy
file=
"dist/DoctrineDBAL-${version}-full.tar.gz"
todir=
"${project.download_dir}"
/>
</target>
<target
name=
"update-dev-version"
>
<propertyprompt
propertyName=
"next_version"
defaultValue=
"${version}"
promptText=
"Enter next version string (without -DEV)"
/>
<exec
command=
"sed 's/${version}-DEV/${next_version}-DEV/' ${project.basedir}/lib/Doctrine/DBAL/Version.php > ${project.basedir}/lib/Doctrine/DBAL/Version2.php"
passthru=
"true"
/>
<exec
command=
"mv ${project.basedir}/lib/Doctrine/DBAL/Version2.php ${project.basedir}/lib/Doctrine/DBAL/Version.php"
passthru=
"true"
/>
<exec
command=
"git add ${project.basedir}/lib/Doctrine/DBAL/Version.php"
/>
<exec
command=
"git commit -m 'Bump Dev Version to ${next_version}'"
/>
<exec
command=
"git push origin master"
/>
</target>
<target
name=
"release"
depends=
"git-tag,build-packages,distribute-download,pirum-release,update-dev-version"
/>
</project>
</project>
\ No newline at end of file
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