File tree 4 files changed +601
-434
lines changed
4 files changed +601
-434
lines changed Original file line number Diff line number Diff line change @@ -521,6 +521,7 @@ lint/markdown: node_modules/.installed
521
521
# All files generated by the database should be added here, and this can be used
522
522
# as a target for jobs that need to run after the database is generated.
523
523
DB_GEN_FILES := \
524
+ coderd/database/dump.sql \
524
525
coderd/database/querier.go \
525
526
coderd/database/unique_constraint.go \
526
527
coderd/database/dbmem/dbmem.go \
@@ -540,8 +541,6 @@ GEN_FILES := \
540
541
provisionersdk/proto/provisioner.pb.go \
541
542
provisionerd/proto/provisionerd.pb.go \
542
543
vpn/vpn.pb.go \
543
- coderd/database/dump.sql \
544
- $(DB_GEN_FILES ) \
545
544
site/src/api/typesGenerated.ts \
546
545
coderd/rbac/object_gen.go \
547
546
codersdk/rbacresources_gen.go \
@@ -559,7 +558,7 @@ GEN_FILES := \
559
558
coderd/database/pubsub/psmock/psmock.go
560
559
561
560
# all gen targets should be added here and to gen/mark-fresh
562
- gen : $(GEN_FILES )
561
+ gen : gen/db $(GEN_FILES )
563
562
.PHONY : gen
564
563
565
564
gen/db : $(DB_GEN_FILES )
You can’t perform that action at this time.
0 commit comments