Skip to content

Commit fe5caea

Browse files
committed
hello node
1 parent f95ecea commit fe5caea

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

Makefile

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ gen/golden-files: \
594594

595595
# Mark all generated files as fresh so make thinks they're up-to-date. This is
596596
# used during releases so we don't run generation scripts.
597-
gen/mark-fresh:
597+
gen/mark-fresh: gen/mark-fresh/node_modules
598598
files="\
599599
tailnet/proto/tailnet.pb.go \
600600
agent/proto/agent.pb.go \
@@ -620,10 +620,6 @@ gen/mark-fresh:
620620
coderd/database/pubsub/psmock/psmock.go \
621621
agent/agentcontainers/acmock/acmock.go \
622622
agent/agentcontainers/dcspec/dcspec_gen.go \
623-
node_modules/.installed \
624-
offlinedocs/node_modules/.installed \
625-
site/node_modules/.installed \
626-
scripts/apidocgen/node_modules/.installed \
627623
"
628624

629625
for file in $$files; do
@@ -638,6 +634,22 @@ gen/mark-fresh:
638634
done
639635
.PHONY: gen/mark-fresh
640636

637+
# Mark all generated files as fresh so make thinks they're up-to-date. This is
638+
# used during releases so we don't run generation scripts.
639+
gen/mark-fresh/node_modules:
640+
files="\
641+
node_modules/.installed \
642+
site/node_modules/.installed \
643+
offlinedocs/node_modules/.installed \
644+
scripts/apidocgen/node_modules/.installed \
645+
"
646+
647+
for file in $$files; do
648+
# touch creates/sets the mtime of the file to the current time.
649+
touch "$$file"
650+
done
651+
.PHONY: gen/mark-fresh/node_modules
652+
641653
# Runs migrations to output a dump of the database schema after migrations are
642654
# applied.
643655
coderd/database/dump.sql: coderd/database/gen/dump/main.go $(wildcard coderd/database/migrations/*.sql)

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