-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
37 lines (33 loc) · 1.36 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="UTF-8" ?>
<project name="PAN UI Multiselect Dropdown" default="build">
<target name="build">
<mkdir dir="${phing.dir.pan_ui_multiselect_dropdown}/packages" />
<phingcall target="css" />
<phingcall target="js" />
<phingcall target="jsdev" />
</target>
<adhoc-task name="scss">
require_once 'vendor/pan/theme/classes/ScssTask.php';
</adhoc-task>
<target name="css" description="Compile and compress all CSS files">
<scss
scssFile="multiselect-dropdown.scss"
cssFile="${phing.dir.pan_ui_multiselect_dropdown}/packages/multiselect-dropdown.css"
dir="${phing.dir.pan_ui_multiselect_dropdown}/src"
/>
</target>
<target name="js" description="Compile and compress all JS">
<exec dir="${phing.dir.pan_ui_multiselect_dropdown}" level="info" logoutput="true" command="
closure
--js src/multiselect-dropdown.js
--js_output_file packages/multiselect-dropdown.min.js
" />
</target>
<target name="jsdev" description="Compile all JS files">
<exec dir="${phing.dir.pan_ui_multiselect_dropdown}" level="info" logoutput="true" command="
cat
src/multiselect-dropdown.js
> packages/multiselect-dropdown.js
" />
</target>
</project>