Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 24 lines (16 sloc) 870 Bytes
#!/bin/bash
echo "Building jo.js"
cd js/core
cat log.js _jo.js dom.js event.js subject.js time.js yield.js cache.js chain.js clipboard.js local.js > ../jo.js
cd ../data
cat datasource.js database.js sqldatasource.js script.js preference.js >> ../jo.js
cd ../ui
cat interface.js collect.js view.js container.js control.js button.js busy.js list.js busy.js caption.js card.js stack.js scroller.js divider.js expando.js expandotitle.js flexrow.js focus.js footer.js gesture.js group.js html.js input.js label.js menu.js passwordinput.js popup.js screen.js shim.js sound.js stackscroller.js tabbar.js table.js textarea.js title.js toolbar.js form.js >> ../jo.js
cd ..
echo "Done."
echo "Minifying jo.js -> jo_min.js"
jsmin < jo.js > jo_min.js
#echo "Compiling jo.js -> jo_com.js"
#java -jar ~/bin/compiler.jar --js=jo.js --js_output_file=jo_com.js
cd ..
echo "Done."