Repository: flex-utilities Updated Branches: refs/heads/feature-npm-install d689886ff -> 28c194d49
Copy moar files Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/28c194d4 Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/28c194d4 Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/28c194d4 Branch: refs/heads/feature-npm-install Commit: 28c194d499f6cd1060dd4dcc6a7836ad547fcaef Parents: d689886 Author: OmPrakash Muppirala <[email protected]> Authored: Mon Dec 21 19:24:44 2015 -0800 Committer: OmPrakash Muppirala <[email protected]> Committed: Mon Dec 21 19:24:44 2015 -0800 ---------------------------------------------------------------------- npm-flexjs/dependencies/ApacheFalcon.js | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/28c194d4/npm-flexjs/dependencies/ApacheFalcon.js ---------------------------------------------------------------------- diff --git a/npm-flexjs/dependencies/ApacheFalcon.js b/npm-flexjs/dependencies/ApacheFalcon.js index 5a2996b..60091ba 100644 --- a/npm-flexjs/dependencies/ApacheFalcon.js +++ b/npm-flexjs/dependencies/ApacheFalcon.js @@ -206,6 +206,37 @@ function copyFiles() constants.FLEXJS_FOLDER + 'bin', { forceDelete: true }); + + //Bin-legacy TODO:FIXME + + //copyfiles.jx copy FalconJX files into SDK + try + { + mkdirp(constants.FLEXJS_FOLDER + 'js/bin'); + mkdirp(constants.FLEXJS_FOLDER + 'js/lib'); + mkdirp(constants.FLEXJS_FOLDER + 'js/libs'); + mkdirp(constants.FLEXJS_FOLDER + 'externs'); + } + catch(e) + { + if ( e.code != 'EEXIST' ) throw e; + } + + wrench.copyDirSyncRecursive(constants.DOWNLOADS_FOLDER + 'falcon/js/lib', + constants.FLEXJS_FOLDER + 'js/lib', { + forceDelete: true + }); + + wrench.copyDirSyncRecursive(constants.DOWNLOADS_FOLDER + 'falcon/js/libs', + constants.FLEXJS_FOLDER + 'js/libs', { + forceDelete: true + }); + + wrench.copyDirSyncRecursive(constants.DOWNLOADS_FOLDER + 'falcon/externs', + constants.FLEXJS_FOLDER + 'externs', { + forceDelete: true + }); + } ApacheFalcon.falconInstallComplete = function()
