[gimp-web-devel] Makefile: create `build-main` and `build-testing` targets.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-web-devel] Makefile: create `build-main` and `build-testing` targets.
- Date: Fri, 14 Oct 2022 21:03:38 +0000 (UTC)
commit 31730b86542a0403f4d2498b6767f6d09cf2a55f
Author: Jehan <jehan girinstud io>
Date: Fri Oct 14 23:02:09 2022 +0200
Makefile: create `build-main` and `build-testing` targets.
These would override the baseURL set in config.toml and will be used for the CI
builds to the different websites.
Makefile | 8 ++++++++
config.toml | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/Makefile b/Makefile
index a690bdc..c02a19a 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,14 @@ build:
hugo
bash scripts/update_api_docs.sh
+build-main:
+ hugo -b https://developer.gimp.org
+ bash scripts/update_api_docs.sh
+
+build-testing:
+ hugo -b https://testing.developer.gimp.org
+ bash scripts/update_api_docs.sh
+
test:
hugo server
diff --git a/config.toml b/config.toml
index 616c893..fe5e720 100644
--- a/config.toml
+++ b/config.toml
@@ -1,4 +1,4 @@
-baseURL = "https://testing.developer.gimp.org/"
+baseURL = "https://developer.gimp.org/"
languageCode = "en"
title = "GIMP Developer"
author = "The GIMP Development Team"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]