-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow workflow.py to work outside a workflow
- Loading branch information
Showing
7 changed files
with
53 additions
and
51 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env python | ||
# encoding: utf-8 | ||
# | ||
# Copyright © 2014 [email protected] | ||
# | ||
# MIT Licence. See http://opensource.org/licenses/MIT | ||
# | ||
# Created on 2014-08-17 | ||
# | ||
|
||
""" | ||
""" | ||
|
||
from __future__ import print_function, unicode_literals | ||
|
||
import os | ||
|
||
INFO_PLIST_TEST = os.path.join(os.path.abspath(os.path.dirname(__file__)), | ||
'info.plist.test') | ||
|
||
|
||
INFO_PLIST_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), | ||
'info.plist') | ||
|
||
|
||
def create_info_plist(): | ||
if not os.path.exists(INFO_PLIST_PATH): | ||
os.symlink(INFO_PLIST_TEST, INFO_PLIST_PATH) | ||
|
||
|
||
def delete_info_plist(): | ||
if os.path.exists(INFO_PLIST_PATH): | ||
os.unlink(INFO_PLIST_PATH) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters