mirror of
https://github.com/Mibew/tray.git
synced 2025-01-22 18:10:34 +03:00
Update build.xml
Correctly build JavaScript applications with layouts and regions
This commit is contained in:
parent
2f5998843e
commit
f3ea7d790b
@ -216,6 +216,26 @@
|
|||||||
<exclude name="collection_views/**/base*.js" />
|
<exclude name="collection_views/**/base*.js" />
|
||||||
</fileset>
|
</fileset>
|
||||||
|
|
||||||
|
<!-- Include regions files -->
|
||||||
|
<fileset dir="${js_path}/compiled/${app_name}">
|
||||||
|
<include name="regions/**/base*.js" />
|
||||||
|
</fileset>
|
||||||
|
<fileset dir="${js_path}/compiled/${app_name}">
|
||||||
|
<include name="regions/**/*.js" />
|
||||||
|
<!-- Exclude base files -->
|
||||||
|
<exclude name="regions/**/base*.js" />
|
||||||
|
</fileset>
|
||||||
|
|
||||||
|
<!-- Include layouts files -->
|
||||||
|
<fileset dir="${js_path}/compiled/${app_name}">
|
||||||
|
<include name="layouts/**/base*.js" />
|
||||||
|
</fileset>
|
||||||
|
<fileset dir="${js_path}/compiled/${app_name}">
|
||||||
|
<include name="layouts/**/*.js" />
|
||||||
|
<!-- Exclude base files -->
|
||||||
|
<exclude name="layouts/**/base*.js" />
|
||||||
|
</fileset>
|
||||||
|
|
||||||
<!-- Include all other files -->
|
<!-- Include all other files -->
|
||||||
<fileset dir="${js_path}/compiled/${app_name}">
|
<fileset dir="${js_path}/compiled/${app_name}">
|
||||||
<include name="**/base*.js" />
|
<include name="**/base*.js" />
|
||||||
@ -223,16 +243,21 @@
|
|||||||
<exclude name="collections/**/base*.js" />
|
<exclude name="collections/**/base*.js" />
|
||||||
<exclude name="model_views/**/base*.js" />
|
<exclude name="model_views/**/base*.js" />
|
||||||
<exclude name="collection_views/**/base*.js" />
|
<exclude name="collection_views/**/base*.js" />
|
||||||
|
<exclude name="regions/**/base*.js" />
|
||||||
|
<exclude name="layouts/**/base*.js" />
|
||||||
</fileset>
|
</fileset>
|
||||||
<fileset dir="${js_path}/compiled/${app_name}">
|
<fileset dir="${js_path}/compiled/${app_name}">
|
||||||
<include name="**/*.js" />
|
<include name="**/*.js" />
|
||||||
<!-- Exclude files from ${js_path}/compiled/${app_name}/ -->
|
<!-- Exclude files from ${js_path}/compiled/${app_name}/ -->
|
||||||
<exclude name="*.js" />
|
<exclude name="*.js" />
|
||||||
<!-- Exclude models, collections and views files -->
|
<!-- Exclude models, collections, views, regions and layouts
|
||||||
|
files -->
|
||||||
<exclude name="models/**/*.js" />
|
<exclude name="models/**/*.js" />
|
||||||
<exclude name="collections/**/*.js" />
|
<exclude name="collections/**/*.js" />
|
||||||
<exclude name="model_views/**/*.js" />
|
<exclude name="model_views/**/*.js" />
|
||||||
<exclude name="collection_views/**/*.js" />
|
<exclude name="collection_views/**/*.js" />
|
||||||
|
<exclude name="regions/**/*.js" />
|
||||||
|
<exclude name="layouts/**/*.js" />
|
||||||
<!-- Exclude base files -->
|
<!-- Exclude base files -->
|
||||||
<exclude name="**/base*.js" />
|
<exclude name="**/base*.js" />
|
||||||
</fileset>
|
</fileset>
|
||||||
|
Loading…
Reference in New Issue
Block a user