pushd ..
rem === BUILDING ActionScriptSDK ===
node generate.js ..\API_Specs actionscript=..\sdks\ActionScriptSDK\PfApiTest
popd

rem === Cleaning existing files from ActionScriptSDK ===
pushd ../../sdks/ActionScriptSDK/PfApiTest/com/playfab
pushd AdminModels
del *.as >nul 2>&1
popd
pushd ClientModels
del *.as >nul 2>&1
popd
pushd MatchmakerModels
del *.as >nul 2>&1
popd
pushd ServerModels
del *.as >nul 2>&1
popd
popd

pushd ..
rem === BUILDING ActionScriptSDK ===
node generate.js ..\API_Specs actionscript=..\sdks\ActionScriptSDK\PfApiTest
popd

Delete model files from AS3 SDK for a cleaner build.
Delete model files from AS3 SDK for a cleaner build.

This will fix an issue where AS3-nightly/jenkins is trying to submit files that aren't supposed to be released yet.
