mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 12:33:07 +00:00
18 lines
357 B
Bash
Executable file
18 lines
357 B
Bash
Executable file
#!/bin/bash
|
|
|
|
#
|
|
# This file will compile the javascript libraries and
|
|
# the Handlebars templates.
|
|
#
|
|
|
|
# Install Handlebars
|
|
if ! type handlebars &> /dev/null; then
|
|
sudo npm -g install handlebars
|
|
fi
|
|
|
|
# Compile the templates
|
|
handlebars -e tpl -f client/js/shout.templates.js client/templates/
|
|
|
|
# Uglify the javascript libraries
|
|
# See: Gruntfile.js
|
|
grunt uglify
|