Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Commit

Permalink
tool.php_build fixed (wrong / missing imports)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelcontento committed Apr 20, 2012
1 parent 1ef0217 commit 4c9cbd2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions revolver/tool/php_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@

from __future__ import absolute_import, division, with_statement

from revolver.core import run
from revolver import contextmanager as ctx
from revolver import directory as dir
from revolver import package
from revolver import package, file, core


def install():
package.ensure(["curl", "git-core"])

if not dir.exists(".php-build"):
run("git clone git://github.com/CHH/php-build .php-build")
core.run("git clone git://github.com/CHH/php-build .php-build")

with ctx.cd(".php-build"):
run("git pull")
core.run("git pull")
dir.create("versions")
dir.create("tmp")

Expand Down

0 comments on commit 4c9cbd2

Please sign in to comment.