Skip to content

Instantly share code, notes, and snippets.

@ssinganamalla
Last active December 17, 2015 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssinganamalla/5586416 to your computer and use it in GitHub Desktop.
Save ssinganamalla/5586416 to your computer and use it in GitHub Desktop.
.sencha/app/plugin file to copy the all-classes.js to main
<!--
<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>
@ssinganamalla
Copy link
Author

copy this in the .sencha/app/.plugin xml file below

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment