bzr branch
http://darksoft.org/webbzr/adei/trunk
80
by Suren A. Chilingaryan
Few steps on source tree integration in javascript frontend |
1 |
JAVA = java |
2 |
YUI = includes/yuicompressor-2.4.jar |
|
3 |
||
4 |
.PHONY: all error compress-js compress-css |
|
5 |
||
6 |
all: compress-js |
|
7 |
||
8 |
compress-js: js/*.js |
|
169
by Suren A. Chilingaryan
Control subsystem |
9 |
cat js/*.js js/xmlmodule/*.js > adei.uncompressed.js; \ |
80
by Suren A. Chilingaryan
Few steps on source tree integration in javascript frontend |
10 |
${JAVA} -jar ${YUI} -o adei.js adei.uncompressed.js; \ |
205
by Suren A. Chilingaryan
Revert back to SetConfiguration from SetCustomProperties while handling certain property in search; trully support HTML content in description field within search results; support execution in XMLModule; support for setup-specific javascript code; KATRIN update |
11 |
rm -f adei.uncompressed.js; \ |
12 |
for setup in setups/*; do \ |
|
13 |
if [ -d $$setup/js ]; then \
|
|
14 |
name=`basename $$setup`; \
|
|
15 |
cat $$setup/js/*.js $$setup/js/xmlmodule/*.js > $$setup/$$name.uncompressed.js 2>/dev/null; \
|
|
16 |
${JAVA} -jar ${YUI} -o $$setup/$$name.js $$setup//$$name.uncompressed.js; \
|
|
17 |
rm -f $$setup/$$name.uncompressed.js; \
|
|
18 |
fi; \
|
|
19 |
done
|
|
80
by Suren A. Chilingaryan
Few steps on source tree integration in javascript frontend |
20 |
|
21 |
||
22 |
error: |
|
23 |
for script in js/*.js; do \ |
|
24 |
echo Checking $$script; \ |
|
25 |
${JAVA} -jar ${YUI} $$script > /dev/null || \ |
|
26 |
( ${JAVA} -jar ${YUI} ${script}; exit 1; ); \ |
|
27 |
done
|
|
28 |
||
29 |