mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2024-11-14 18:45:13 +01:00
22 lines
468 B
Makefile
22 lines
468 B
Makefile
all: compile-assets compile-site
|
|
all-dev: compile-assets-dev serve-site-dev
|
|
|
|
compile-site:
|
|
echo "Generating static website"
|
|
hugo
|
|
echo "Website generated"
|
|
|
|
serve-site-dev:
|
|
echo "Serving website"
|
|
hugo serve --bind=0.0.0.0
|
|
|
|
compile-assets:
|
|
echo "Compiling assets"
|
|
cd themes/conventional-commits && npm install && npm run build
|
|
echo "Assets compiled"
|
|
|
|
compile-assets-dev:
|
|
echo "Compiling assets"
|
|
cd themes/conventional-commits && npm install && npm run start &
|
|
|