mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 21:00:10 +01:00
3989f02359
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.
12 lines
201 B
Bash
Executable File
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 |