1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-10 13:38:53 +01:00
choosealicense.com/script/server
XhmikosR 3989f02359 Combine javascript files.
Now the main page doesn't include any JS since it doesn't use them. This results in -4 http requests and a lot of bytes saved.
2013-12-13 18:39:49 +02:00

12 lines
201 B
Bash
Executable File

#!/bin/sh
set -e
echo "compiling javascript..."
./node_modules/.bin/coffee -c _includes/js/app.coffee
echo "spinning up the server..."
bundle exec jekyll serve -w
echo "cleaning up..."
rm -Rf _site