Skip to content

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