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
6c2691af
Unverified
Commit
6c2691af
authored
Dec 13, 2018
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused build files
parent
e1ed56c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
105 deletions
+0
-105
build.properties
build.properties
+0
-3
build.xml
build.xml
+0
-102
No files found.
build.properties
deleted
100644 → 0
View file @
e1ed56c2
# Version class and file
project.version_class
=
Doctrine
\\
DBAL
\\
Version
project.version_file
=
lib/Doctrine/DBAL/Version.php
build.xml
deleted
100644 → 0
View file @
e1ed56c2
<?xml version="1.0"?>
<project
name=
"DoctrineDBAL"
default=
"build"
basedir=
"."
>
<property
file=
"build.properties"
/>
<target
name=
"php"
>
<exec
executable=
"which"
outputproperty=
"php_executable"
>
<arg
value=
"php"
/>
</exec>
</target>
<target
name=
"prepare"
>
<mkdir
dir=
"build"
/>
</target>
<target
name=
"build"
depends=
"check-git-checkout-clean,prepare,php,composer"
>
<exec
executable=
"${php_executable}"
>
<arg
value=
"build/composer.phar"
/>
<arg
value=
"archive"
/>
<arg
value=
"--dir=build"
/>
</exec>
</target>
<target
name=
"composer"
depends=
"php,composer-check,composer-download"
>
<exec
executable=
"${php_executable}"
>
<arg
value=
"build/composer.phar"
/>
<arg
value=
"install"
/>
</exec>
</target>
<target
name=
"composer-check"
depends=
"prepare"
>
<available
file=
"build/composer.phar"
property=
"composer.present"
/>
</target>
<target
name=
"composer-download"
unless=
"composer.present"
>
<exec
executable=
"wget"
>
<arg
value=
"-Obuild/composer.phar"
/>
<arg
value=
"http://getcomposer.org/composer.phar"
/>
</exec>
</target>
<target
name=
"make-release"
depends=
"check-git-checkout-clean,prepare,php"
>
<replace
file=
"${project.version_file}"
token=
"-DEV"
value=
""
failOnNoReplacements=
"true"
/>
<exec
executable=
"${php_executable}"
outputproperty=
"doctrine.current_version"
failonerror=
"true"
>
<arg
value=
"-r"
/>
<arg
value=
"require_once '${project.version_file}';echo ${project.version_class}::VERSION;"
/>
</exec>
<exec
executable=
"${php_executable}"
outputproperty=
"doctrine.next_version"
failonerror=
"true"
>
<arg
value=
"-r"
/>
<arg
value=
"$parts = explode('.', str_ireplace(array('-DEV', '-ALPHA', '-BETA'), '', '${doctrine.current_version}'));
if (count($parts) != 3) {
throw new \InvalidArgumentException('Version is assumed in format x.y.z, ${doctrine.current_version} given');
}
$parts[2]++;
echo implode('.', $parts);
"
/>
</exec>
<git-commit
file=
"${project.version_file}"
message=
"Release ${doctrine.current_version}"
/>
<git-tag
version=
"${doctrine.current_version}"
/>
<replace
file=
"${project.version_file}"
token=
"${doctrine.current_version}"
value=
"${doctrine.next_version}-DEV"
/>
<git-commit
file=
"${project.version_file}"
message=
"Bump version to ${doctrine.next_version}"
/>
</target>
<target
name=
"check-git-checkout-clean"
>
<exec
executable=
"git"
failonerror=
"true"
>
<arg
value=
"diff-index"
/>
<arg
value=
"--quiet"
/>
<arg
value=
"HEAD"
/>
</exec>
</target>
<macrodef
name=
"git-commit"
>
<attribute
name=
"file"
default=
"NOT SET"
/>
<attribute
name=
"message"
default=
"NOT SET"
/>
<sequential>
<exec
executable=
"git"
>
<arg
value=
"add"
/>
<arg
value=
"@{file}"
/>
</exec>
<exec
executable=
"git"
>
<arg
value=
"commit"
/>
<arg
value=
"-m"
/>
<arg
value=
"@{message}"
/>
</exec>
</sequential>
</macrodef>
<macrodef
name=
"git-tag"
>
<attribute
name=
"version"
default=
"NOT SET"
/>
<sequential>
<exec
executable=
"git"
>
<arg
value=
"tag"
/>
<arg
value=
"-s"
/>
<arg
value=
"-m"
/>
<arg
value=
"v@{version}"
/>
<arg
value=
"v@{version}"
/>
</exec>
</sequential>
</macrodef>
</project>
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