File tree Expand file tree Collapse file tree 5 files changed +12
-18
lines changed Expand file tree Collapse file tree 5 files changed +12
-18
lines changed Original file line number Diff line number Diff line change 1
- #
2
- # Generated from [.gitignore .prettierignore.include] by Makefile; DO NOT EDIT.
3
- #
1
+ # Code generated by Makefile (.gitignore .prettierignore.include). DO NOT EDIT.
2
+
4
3
# .gitignore:
5
4
# Common ignore patterns, these rules applies in both root and subdirectories.
6
5
.DS_Store
Original file line number Diff line number Diff line change @@ -499,9 +499,8 @@ cli/testdata/.gen-golden: $(wildcard cli/testdata/*.golden) $(GO_SRC_FILES)
499
499
# overrides. This allows us to share the same prettier config between the
500
500
# site and the root of the repo.
501
501
site/.prettierrc.yaml : .prettierrc.yaml Makefile
502
- echo " #" > " $@ "
503
- echo " # Generated from ../$< by Makefile; DO NOT EDIT." >> " $@ "
504
- echo " #" >> " $@ "
502
+ echo " # Code generated by Makefile (../$<). DO NOT EDIT." > " $@ "
503
+ echo " " >> " $@ "
505
504
506
505
# Simplistic approach to rewriting override paths relative to site/.
507
506
isfile=0
@@ -535,9 +534,8 @@ site/.prettierrc.yaml: .prettierrc.yaml Makefile
535
534
536
535
# Combine .gitignore with .prettierignore.include to generate .prettierignore.
537
536
.prettierignore : .gitignore .prettierignore.include
538
- echo " #" > " $@ "
539
- echo " # Generated from [$^] by Makefile; DO NOT EDIT." >> " $@ "
540
- echo " #" >> " $@ "
537
+ echo " # Code generated by Makefile ($^). DO NOT EDIT." > " $@ "
538
+ echo " " >> " $@ "
541
539
for f in $^; do
542
540
echo " # $$ {f}:" >> " $@ "
543
541
cat " $$ f" >> " $@ "
Original file line number Diff line number Diff line change 1
- #
2
- # Generated from [.gitignore .prettierignore.include] by Makefile; DO NOT EDIT.
3
- #
1
+ # Code generated by Makefile (.gitignore .prettierignore.include). DO NOT EDIT.
2
+
4
3
# .gitignore:
5
4
# Common ignore patterns, these rules applies in both root and subdirectories.
6
5
.DS_Store
Original file line number Diff line number Diff line change 1
- #
2
- # Generated from [.gitignore .prettierignore.include] by Makefile; DO NOT EDIT.
3
- #
1
+ # Code generated by Makefile (.gitignore .prettierignore.include). DO NOT EDIT.
2
+
4
3
# .gitignore:
5
4
# Common ignore patterns, these rules applies in both root and subdirectories.
6
5
.DS_Store
Original file line number Diff line number Diff line change 1
- #
2
- # Generated from ../.prettierrc.yaml by Makefile; DO NOT EDIT.
3
- #
1
+ # Code generated by Makefile (../.prettierrc.yaml). DO NOT EDIT.
2
+
4
3
# This config file is used in conjunction with `.editorconfig` to specify
5
4
# formatting for prettier-supported files. See `.editorconfig` and
6
5
# `site/.editorconfig`for whitespace formatting options.
You can’t perform that action at this time.
0 commit comments