Skip to content

Commit

Permalink
Update build config for new pear server.
Browse files Browse the repository at this point in the history
Point to the new dokku based pear server. Put the files in the new
location and rebuild the dokku app.
  • Loading branch information
markstory committed Nov 11, 2016
1 parent 86b5401 commit 23009ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.properties
Expand Up @@ -9,4 +9,4 @@ build.dir = build
dist.dir = dist

# Server
pirum.dir = /home/cakephp/www-live/pear.cakephp.org
pirum.dir = /var/lib/dokku/data/storage/pear
6 changes: 3 additions & 3 deletions build.xml
Expand Up @@ -213,10 +213,10 @@
-->
<target name="distribute" depends="prepare" description="Upload pear packages to pear.cakephp.org">
<echo msg="Uploading tgz file to cakephp.org" />
<exec command="scp ${dist.dir}/${pear.package}.tgz cakephp@pear.cakephp.org:${pirum.dir}" dir="." checkreturn="true" />
<exec command="scp ${dist.dir}/${pear.package}.tgz root@cakephp.org:${pirum.dir}" dir="." checkreturn="true" />

<echo msg="Adding new release to pirum" />
<exec command="ssh cakephp@pear.cakephp.org pirum add ${pirum.dir} ${pirum.dir}/${pear.package}.tgz" checkreturn="true" />
<echo msg="Rebuilding pear.cakephp.org container" />
<exec command="ssh root@cakephp.org dokku ps:rebuild pear" checkreturn="true" />
</target>

<target name="codestyle" description="Check codestyle (human readable format)">
Expand Down

0 comments on commit 23009ae

Please sign in to comment.