-
-
Notifications
You must be signed in to change notification settings - Fork 24
how run
lizhi edited this page Feb 8, 2018
·
17 revisions
- download royale sdk.
- download spriteflexjs source.
- run with windows run the bat,replace sdk path,and main var with your https://github.com/matrix3d/spriteflexjs/blob/master/test/build.bat
set FLEX_HOME=D:\sdk\apache-royale-0.9.1-bin-js\royale-asjs
set main=TestGraphics
set ARGS=-remove-circulars
start %FLEX_HOME%/js/bin/mxmlc %ARGS% -external-library-path="%FLEX_HOME%\js\libs\js.swc" -compiler.source-path=../src src/%main%.as -define=CONFIG::as_only,false -define=CONFIG::js_only,true
- run with mac run the bat,replace sdk path,and main var with your.
#set FLEX_HOME=D:/sdk/apache-royale-0.9.1-bin-js/royale-asjs
FLEX_HOME=/FlexSDK/FlexJSNightly
MXMLC_PATH="$FLEX_HOME/js/bin/mxmlc"
EXTERN_PATH="$FLEX_HOME/js/libs/js.swc"
main=TestGraphics.as
ARGS='-remove-circulars'
#ARGS='-debug=true -remove-circulars'
#ARGS='-remove-circulars -js-compiler-option="--compilation_level WHITESPACE_ONLY"'
$MXMLC_PATH $ARGS -external-library-path="$EXTERN_PATH" -compiler.source-path=../src src/$main.as -define=CONFIG::as_only,false -define=CONFIG::js_only,true