Created
February 21, 2016 16:46
-
-
Save savelee/4c2fdd2bda303bc03704 to your computer and use it in GitHub Desktop.
Custom split build process
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
<![CDATA[ | |
# Build a set containing everything, the entire application and the used framework. | |
restore | |
page | |
and | |
save | |
entireApp | |
and | |
# Build a set containing the entire framework. | |
union | |
-tag=package-sencha-core,framework | |
and | |
save | |
entireFramework | |
and | |
# Output just the used framework code, it is the intersection of entireApp and entireFramework. | |
intersect | |
-set=entireApp,entireFramework | |
and | |
${build.optimize} | |
and | |
concat | |
${build.compression} | |
-out=${build.framework.file} | |
${build.concat.options} | |
# Output just the application code. | |
and | |
restore | |
page | |
and | |
exclude | |
-tag=framework,package-sencha-core | |
and | |
${build.optimize} | |
and | |
concat | |
-out=${build.classes.file} | |
${build.concat.options} | |
-b | |
]]> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment