RealTimeLogic / BAS-Resources

The Barracuda App Server's resource files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BAS-Resources

The Barracuda App Server's resource files. See the build directory for build instructions.

Files

mkCaCert.sh

# Creates rtl/.certificate/cacert.shark from curl's cacert.pem
wget https://curl.se/ca/cacert.pem
SharkSSLParseCAList -b cacert.shark cacert.pem
rm -f cacert.pem 

mkJquery.sh

# Shell script for fetching the latest jquery, tablesorter, and cookie
# plugin. These 3 files are concatenated together and put
# in core/jquery.js
export JQVER=3.7.0
function abort() {
    echo "Oops"
    sleep 5
    exit 1
}
mkdir tmp
cd tmp
wget https://code.jquery.com/jquery-$JQVER.min.js || abort
wget https://mottie.github.io/tablesorter/dist/js/jquery.tablesorter.min.js || abort
wget --no-check-certificate https://raw.githubusercontent.com/carhartl/jquery-cookie/master/src/jquery.cookie.js || abort
wget https://raw.githubusercontent.com/briceburg/jqModal/master/jqModal.js || abort
wget https://raw.githubusercontent.com/gaarf/jqDnR-touch/master/jqdnr.js || abort
mkdir out
echo "//cat: jquery + jquery.cookie + jquery.tablesorter + jqModal" >a.js
cat a.js >x.js
cat jquery-$JQVER.min.js >> x.js
echo "" >> x.js
cat out/jquery.cookie.js >> x.js
echo "" >> x.js
cat jquery.tablesorter.min.js >> x.js
echo "" >> x.js
cat out/jqModal.js >> x.js
echo "" >> x.js
cat out/jqdnr.js >> x.js

cp x.js ../core/jquery.js 
rm *.js
cd ..
rm -rf tmp

About

The Barracuda App Server's resource files

License:Other


Languages

Language:Lua 74.3%Language:JavaScript 20.3%Language:HTML 2.0%Language:CSS 1.7%Language:Shell 0.7%Language:Common Lisp 0.6%Language:Batchfile 0.5%