Skip to content

Commit

Permalink
Improved build script
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Oct 16, 2018
1 parent 9d6ec90 commit c6d97fb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
Resources/Private/Extensions
Resources/Libraries
composer.lock
.Build
index.php
typo3_src
typo3conf
typo3
7 changes: 5 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
</target>

<target name="deploy" description="Creates new package" depends="clean">
<exec command="composer install --no-dev --working-dir ${project.basedir}" checkreturn="true" logoutput="true" />
<exec command="composer remove --no-update --working-dir ${project.basedir} typo3/cms-core typo3-ter/static-info-tables" checkreturn="true" logoutput="true" />
<exec command="composer update --no-dev --no-autoloader --working-dir ${project.basedir}" checkreturn="true" logoutput="true" />
<exec command="composer dump-autoload --working-dir ${project.basedir}" checkreturn="true" logoutput="true" />
<propertyprompt propertyName="version" promptText="Release version" promptCharacter=":" useExistingValue="true"/>
<propertyprompt propertyName="state" promptText="Stablility state" promptCharacter=":" defaultValue="stable"/>
<reflexive>
Expand All @@ -22,8 +24,9 @@
</replaceregexp>
</filterchain>
</reflexive>
<exec command="zip -r ../aimeos_${version}.zip * -x .tx -x \*.git\* -x .Build -x composer.* -x .travis.yml"
<exec command="zip -r ../aimeos_${version}.zip * -x .tx -x \*.git\* -x composer.* -x .travis.yml"
checkreturn="true" logoutput="true"/>
<exec command="git checkout composer.json" checkreturn="true" logoutput="true" />
<filehash file="../aimeos_${version}.zip" hashtype="1" />
<echo msg="SHA1 hash value: ${filehashvalue}" />
</target>
Expand Down

0 comments on commit c6d97fb

Please sign in to comment.