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

Updates to flx.py. #189

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ivangonekrazy
Copy link

Change to flx.py to make it more cross-platform compatible:

  • The script now generates proper file and directory paths
    for Windows, Mac, Linux.

Usability changes:

  • Print usage message if no project name is provided.
  • The project directory is created if it doesn't yet exist.
  • The comment generated in Default.css is now commented out.

Changes to make the script more "Pythonic":

  • String literals for the file templates are now just one string
    instead of a list of strings.
  • Variables in the templates are interpolated into the strings
    rather than concatenated.

* String literals for the file templates are now just one string
  instead of a list of strings.

* Variables in the templates are interpolated into the strings
  rather than concatenated.

* The project directory is created if it doesn't yet exist.

* The script now generates proper file and directory paths
  for Windows, Mac, Linux.

* The comment generated in Default.css is now commented out.
IQAndreas added a commit to IQAndreas-testprojects/IQAndreas-flixel that referenced this pull request Nov 15, 2013
Fix offset by one in STYLE_LOCKON camera mode.
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.

1 participant