From c03bf16de7ce048f2b72ab6ab8fb038319c90bf2 Mon Sep 17 00:00:00 2001 From: Chi-Sheng Liu Date: Tue, 26 Mar 2024 02:46:50 +0800 Subject: [PATCH] docs: Add make target/doc to update console in demo sandbox (#5100) Signed-off-by: Chi-Sheng Liu --- Makefile | 4 ++++ docs/community/contribute.rst | 1 + 2 files changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 072fdf8efb0..6eab674b17f 100644 --- a/Makefile +++ b/Makefile @@ -117,3 +117,7 @@ go-tidy: lint-helm-charts: # This pressuposes that you have act installed act pull_request -W .github/workflows/validate-helm-charts.yaml --container-architecture linux/amd64 -e charts/event.json + +.PHONY: clean +clean: ## Remove the HTML files related to the Flyteconsole. + rm -rf cmd/single/dist diff --git a/docs/community/contribute.rst b/docs/community/contribute.rst index 993cb6bca52..c7573011351 100644 --- a/docs/community/contribute.rst +++ b/docs/community/contribute.rst @@ -396,6 +396,7 @@ that integrates all Flyte components into a single binary. # Step2: Build a single binary that bundles all the Flyte components. # The version of each component/library used to build the single binary are defined in `go.mod`. sudo apt-get -y install jq # You may need to install jq + make clean # (Optional) Run this only if you want to run the newest version of flyteconsole go mod tidy make compile