Skip to content

Commit

Permalink
Update cmake-builder + Fix naming of functions in prepare.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain MARY committed Jun 21, 2016
1 parent 7bb7d4b commit d87354a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ def detect_package_manager(self):
error("No package manager found. Please README or install brew using:\n\truby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"")
return "brew"

def check_tools(self):
def check_environment(self):
reterr = 0
reterr |= prepare.Preparator.check_tools(self)
reterr |= prepare.Preparator.check_environment(self)
package_manager_info = {"brew-pkg-config": "pkg-config",
"sudo port-pkg-config": "pkgconfig",
"brew-binary-path": "/usr/local/bin/",
Expand Down Expand Up @@ -343,8 +343,8 @@ def generate_makefile(self, generator, project_file=''):
def main():
preparator = IOSPreparator()
preparator.parse_args()
if preparator.check_tools() != 0:
preparator.show_missing_dependencies()
if preparator.check_environment() != 0:
preparator.show_environment_errors()
return 1
preparator.install_git_hook()
return preparator.run()
Expand Down
2 changes: 1 addition & 1 deletion submodules/cmake-builder
Submodule cmake-builder updated from 3ac4d6 to a4fbcb

0 comments on commit d87354a

Please sign in to comment.