Skip to content

Commit 6ac7d86

Browse files
authored
chore: prevent gen from rerunning every time (#7985)
1 parent b70d2b1 commit 6ac7d86

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ endif
5050
# Note, all find statements should be written with `.` or `./path` as
5151
# the search path so that these exclusions match.
5252
FIND_EXCLUSIONS= \
53-
-not \( \( -path '*/.git/*' -o -path './build/*' -o -path './vendor/*' -o -path './.coderv2/*' -o -path '*/node_modules/*' -o -path './site/out/*' \) -prune \)
53+
-not \( \( -path '*/.git/*' -o -path './build/*' -o -path './vendor/*' -o -path './.coderv2/*' -o -path '*/node_modules/*' -o -path './site/out/*' -o -path './coderd/apidoc/*' \) -prune \)
5454
# Source files used for make targets, evaluated on use.
5555
GO_SRC_FILES = $(shell find . $(FIND_EXCLUSIONS) -type f -name '*.go')
5656
# All the shell files in the repo, excluding ignored files.
@@ -522,7 +522,7 @@ docs/admin/prometheus.md: scripts/metricsdocgen/main.go scripts/metricsdocgen/me
522522
cd site
523523
yarn run format:write:only ../docs/admin/prometheus.md
524524

525-
docs/cli.md: scripts/clidocgen/main.go $(GO_SRC_FILES) docs/manifest.json
525+
docs/cli.md: scripts/clidocgen/main.go $(GO_SRC_FILES)
526526
BASE_PATH="." go run ./scripts/clidocgen
527527
cd site
528528
yarn run format:write:only ../docs/cli.md ../docs/cli/*.md ../docs/manifest.json

site/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"description": "Coder V2 (Workspaces V2)",
44
"repository": "https://github.com/coder/coder",
55
"private": true,
6+
"license": "AGPL-3.0",
67
"scripts": {
78
"postinstall": "yarn typegen",
89
"build": "NODE_ENV=production yarn vite build",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy