forked from faceleg/ui-date-time-select
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
41 lines (35 loc) · 1.39 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
38
39
<?xml version="1.0" encoding="UTF-8" ?>
<project name="PAN UI Date Time Select" default="build">
<target name="build">
<mkdir dir="${phing.dir.pan_ui_date_time_select}/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="date-time-select.scss"
cssFile="${phing.dir.pan_ui_date_time_select}/packages/date-time-select.css"
dir="${phing.dir.pan_ui_date_time_select}/src"
/>
</target>
<target name="js" description="Compile and compress all JS">
<exec dir="${phing.dir.pan_ui_date_time_select}" level="info" logoutput="true" command="
closure
--js src/date.format.js
--js src/date-time-select.js
--js_output_file packages/date-time-select.min.js
" />
</target>
<target name="jsdev" description="Compile all JS files">
<exec dir="${phing.dir.pan_ui_date_time_select}" level="info" logoutput="true" command="
cat
src/date.format.js
src/date-time-select.js
> packages/date-time-select.js
" />
</target>
</project>