Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: fix travis ci #108

Merged
merged 2 commits into from
Nov 1, 2019
Merged

build: fix travis ci #108

merged 2 commits into from
Nov 1, 2019

Conversation

Velaron
Copy link
Member

@Velaron Velaron commented Oct 31, 2019

I think travis is still using Python 3.4.*, so f-strings are not supported yet and android engine doesn't build.

I think travis is still using Python 3.4.*, so f-strings are not supported yet and android engine doesn't build.
dlls/wscript Outdated
@@ -16,7 +16,7 @@ def configure(conf):
hlDefNode = conf.path.find_resource("./hl.def")

if hlDefNode is not None:
conf.env.append_unique('LINKFLAGS', f'/def:{hlDefNode.abspath()}')
conf.env.append_unique('LINKFLAGS', '/def:{}'.format(hlDefNode.abspath()))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's then use % notation, i.e. '/def:%s' % hlDefNode.abspath(), it's shorter and easier to read, IMO.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you wish, I'm not a huge fan of C style formatting in Python :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fan or not fan, but even python programmers on my main job uses this style.

@a1batross a1batross merged commit 798120f into FWGS:master Nov 1, 2019
@a1batross
Copy link
Member

Thanks!

@Velaron Velaron deleted the patch-1 branch June 17, 2021 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants