Skip to content

Commit

Permalink
Merge pull request laullon#172 from wooly/master
Browse files Browse the repository at this point in the history
Fix up a few broken print statements
tiennou authored May 11, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 84555e0 + ef5a099 commit c7968ec
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Scripts/build.py
Original file line number Diff line number Diff line change
@@ -10,13 +10,13 @@


def build(project):
print "Building scheme {} ({}), please wait…".format(project.scheme(), project.current_config())
print("Building scheme {} ({}), please wait…".format(project.scheme(), project.current_config()))
helpers.xcodebuild(project.scheme(), project.workspace(), project.current_build_config(), ["build"], project.build_base_dir())
print "Successfully built to {}".format(project.build_product())
print("Successfully built to {}".format(project.build_product()))


def clean(project):
print "Cleaning scheme {} ({})".format(project.scheme(), project.current_config())
print("Cleaning scheme {} ({})".format(project.scheme(), project.current_config()))
helpers.xcodebuild(project.scheme(), project.workspace(), project.current_build_config(), ["clean"], project.build_base_dir())


8 changes: 4 additions & 4 deletions Scripts/publish.py
Original file line number Diff line number Diff line change
@@ -91,17 +91,17 @@ def publish_release(project, as_prerelease, as_draft, dry_run):
hub_release.append('-d')

if dry_run:
print "dry-run: {}".format(hub_release)
print("dry-run: {}".format(hub_release))
else:
subprocess.check_call(hub_release)


def publish_cmd(args):
label = None if args.prerelease == False else "pre"

project = Project(os.getcwd(), "release", label)

print "Preparing release {}".format(project.release_tag_name())
print("Preparing release {}".format(project.release_tag_name()))
if not args.force:
helpers.assert_clean()
helpers.assert_branch(project.release_branch())

0 comments on commit c7968ec

Please sign in to comment.