Last active
December 17, 2015 09:19
-
-
Save ssinganamalla/5586416 to your computer and use it in GitHub Desktop.
.sencha/app/plugin file to copy the all-classes.js to main
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
<!-- | |
<target name="-after-generate-model"> | |
... use ${args.path}, ${args.name} and ${args.fields} as needed ... | |
</target> | |
Other targets are similar. There are properties prefixed with "args." and the name of | |
the command line option that hold the parameters for the command. | |
--> | |
<!-- copy this in the .sencha/app/.plugin xml file below --> | |
<target name="-after-app-build"> | |
<chmod file="${user.dir}/all-classes.js" perm="g+w" type="both"/> | |
<copy file="${user.dir}/build/${app.name}/production/all-classes.js" todir="${user.dir}" verbose="true"/> | |
<copy file="${user.dir}/build/${app.name}/production/${app.name}-all.css" todir="${user.dir}" verbose="true"/> | |
<copy todir="${user.dir}/resources" verbose="true"> | |
<fileset dir="${user.dir}/build/${app.name}/production/resources" includes="**"/> | |
</copy> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
copy this in the .sencha/app/.plugin xml file below