forked from christianmendoza/hugo-split-theme
-
-
Notifications
You must be signed in to change notification settings - Fork 89
/
Makefile
30 lines (24 loc) · 1.46 KB
/
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
.SHELLFLAGS = -e -o pipefail -c
.PHONY: hugo-server-example-site-with-image
hugo-server-example-site-with-image:
hugo server --source tests/exampleSiteWithImage --themesDir=../../../
.PHONY: hugo-server-example-site-with-video
hugo-server-example-site-with-video:
hugo server --source tests/exampleSiteWithVideo --themesDir=../../../
.PHONY: sitespeed-io-example-site-with-image-desktop-mode
sitespeed-io-example-site-with-image-desktop-mode:
rm --recursive --force tests/exampleSiteWithImage/sitespeed-result
docker compose --file tests/exampleSiteWithImage/docker-compose.desktop.yml up --exit-code-from sitespeed
.PHONY: sitespeed-io-example-site-with-image-mobile-mode
sitespeed-io-example-site-with-image-mobile-mode:
rm --recursive --force tests/exampleSiteWithImage/sitespeed-result
docker compose --file tests/exampleSiteWithImage/docker-compose.mobile.yml up --exit-code-from sitespeed
.PHONY: sitespeed-io-example-site-with-video-desktop-mode
sitespeed-io-example-site-with-video-desktop-mode:
rm --recursive --force tests/exampleSiteWithVideo/sitespeed-result
docker compose --file tests/exampleSiteWithVideo/docker-compose.desktop.yml up --exit-code-from sitespeed
.PHONY: sitespeed-io-example-site-with-video-mobile-mode
sitespeed-io-example-site-with-video-mobile-mode:
rm --recursive --force tests/exampleSiteWithVideo/sitespeed-result
docker compose --file tests/exampleSiteWithVideo/docker-compose.mobile.yml up --exit-code-from sitespeed