-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
executable file
·30 lines (24 loc) · 932 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SHELL = /bin/bash
benchmark:
hugo benchmark --quiet
deploy:
hugo --quiet --destination public-deployed/
rm -v public-deployed/index.html
local:
hugo server --baseURL "http://127.0.0.1:1313" --watch --ignoreCache
setup:
git submodule init
sudo eopkg install hugo
mkdir -p themes/budgie/static/{css,js}
sync:
git submodule update --remote --rebase
mkdir -p themes/budgie/static/{css,js}
cp -R budgie-site-styling/build/* themes/budgie/static/css/
cp -R solbit/build/fonts/*.{eot,svg,ttf,woff} themes/budgie/static/css/fonts/
rm themes/budgie/static/js/solbit*
cp solbit/build/solbit*.min.js themes/budgie/static/js/
help:
@echo "deploy - Create the deployed form of site. Not particularly useful for those not able to deploy the site."
@echo "local - Run the Budgie Site locally."
@echo "setup - Install necessary tooling for development."
@echo "sync - Update git submodules and update assets."