From 865a975d5898a9ae9bedb751ca72663f4d353387 Mon Sep 17 00:00:00 2001 From: xuyb1999 Date: Wed, 10 Jul 2024 19:22:01 +0800 Subject: [PATCH 1/3] feat: Add .gitignore to exclude 'out' and download temp files 1. When executing 'make downloadcheck', this command will download mill files to created directory 'out', which makes git status dirty. 2. When the download process is interrupted, temporary mill.* files will not be cleaned automatically, thus pollute git status. --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cda925f --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.vscode +out +mill.* \ No newline at end of file From 191fa1cf5e0d3c0ddb7e40d1678e9a7865508b74 Mon Sep 17 00:00:00 2001 From: xuyb1999 Date: Wed, 10 Jul 2024 19:25:43 +0800 Subject: [PATCH 2/3] Makefile: delete temporal download files when 'make clean' --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a5b9c2f..48e4fc1 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ check: shellcheck downloadcheck .PHONY: clean # Cleanup temporary output files clean: - $(RM) -rf -- "./out" + $(RM) -rf -- "./out" mill.* .PHONY: shellcheck # Check for issues in the shell script shellcheck: From 3d2f6669ace2ceb55328e1384c34c8d37eba30f1 Mon Sep 17 00:00:00 2001 From: xuyb1999 <43055897+xuyb1999@users.noreply.github.com> Date: Wed, 31 Jul 2024 15:11:18 +0800 Subject: [PATCH 3/3] Update .gitignore Remove .vscode from .gitignore, as it is not related to this project Co-authored-by: Tobias Roeser --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index cda925f..5e31bbe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -.vscode out mill.* \ No newline at end of file