File tree Expand file tree Collapse file tree 2 files changed +2
-29
lines changed Expand file tree Collapse file tree 2 files changed +2
-29
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<project name =" php-stratum" default =" build" basedir =" ." >
3- <taskdef name =" ReadSemanticVersion" classname =" \SetBased\Phing\Task\ReadSemanticVersionTask" />
4- <property name =" VERSION" value =" 0.0.0" />
5-
63 <target name =" build" >
7- <echo message =" noting to do." />
4+ <echo message =" Noting to do." />
85 </target >
96
107 <!-- Run composer update and executes various other updates -->
2522 <arg value =" --direct" />
2623 </exec >
2724 </target >
28- <!-- Creates a new version/release. -->
29- <target name =" version" >
30- <ReadSemanticVersion file =" .version"
31- versionProperty =" VERSION"
32- haltOnError =" true" />
33- <!-- Set version of application. -->
34- <reflexive >
35- <fileset dir =" ." >
36- <include name =" src/Application/Stratum.php" />
37- </fileset >
38- <filterchain >
39- <replaceregexp >
40- <regexp pattern =" parent::__construct\('stratum', .*"
41- replace =" parent::__construct('stratum', '${ VERSION } ');" />
42- </replaceregexp >
43- </filterchain >
44- </reflexive >
45-
46- <gitcommit repository =" ." message =" Release: ${ VERSION } " allFiles =" true" />
47- <gitpush repository =" ." />
48- <gittag repository =" ." name =" ${ VERSION } " />
49- <gitpush repository =" ." refspec =" ${ VERSION } " quiet =" false" />
50- </target >
5125
5226 <!-- Runs all unit tests -->
5327 <target name =" unit" >
Original file line number Diff line number Diff line change 2222 "prefer-stable" : true ,
2323 "require-dev" : {
2424 "phing/phing" : " ^3.0.0-RC3" ,
25- "phpunit/phpunit" : " ^9.5.27" ,
26- "setbased/phing-extensions" : " 3.0.1"
25+ "phpunit/phpunit" : " ^9.5.27"
2726 },
2827 "autoload" : {
2928 "psr-4" : {
You can’t perform that action at this time.
0 commit comments