Skip to content

Commit

Permalink
Use relative path for mxmlc compiler, added debug and incremental com…
Browse files Browse the repository at this point in the history
…pile options.
  • Loading branch information
mde committed Oct 9, 2009
1 parent 1b902e8 commit f951787
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flash/build.py
Expand Up @@ -6,7 +6,7 @@
import shutil

# Location of compiler
MXMLC_PATH = 'mxmlc'
MXMLC_PATH = 'mxmlc -debug -verbose-stacktraces -incremental=true -compiler.strict -compiler.show-actionscript-warnings'

# For replacing .as with .swf
as_re = re.compile('\.as$|\.mxml$')
Expand Down
3 changes: 2 additions & 1 deletion test/flash_tests/build.py
Expand Up @@ -6,13 +6,14 @@
import shutil

# Location of compiler
MXMLC_PATH = '/Users/adam/Documents/projects/flex_sdk/bin/mxmlc'
MXMLC_PATH = 'mxmlc -debug -verbose-stacktraces -incremental=true -compiler.strict -compiler.show-actionscript-warnings'

# For replacing .as with .swf
as_re = re.compile('\.as$|\.mxml$')

def app():
cmd = MXMLC_PATH + ' -source-path=. -source-path+=../../flash ./TestApp.mxml -o ./TestApp.swf'
#print cmd
os.system(cmd)

def tests():
Expand Down

0 comments on commit f951787

Please sign in to comment.