Skip to content

Commit 800aef4

Browse files
author
William Yang
committed
fix: 文件配置添加 exclude * 避免提交无关文件
按照 CS50 的做法:先排除所有文件,再 require 需要的文件
1 parent 091c4ba commit 800aef4

File tree

8 files changed

+16
-8
lines changed

8 files changed

+16
-8
lines changed

checks/cash/.bootcs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
bootcs:
22
files:
3-
- !include "*.c"
3+
- !exclude "*"
4+
- !require "*.c"

checks/credit/.bootcs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
bootcs:
22
files:
3-
- !include "*.c"
3+
- !exclude "*"
4+
- !require "*.c"

checks/hello/.bootcs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
bootcs:
22
files:
3-
- !include "*.c"
3+
- !exclude "*"
4+
- !require "*.c"

checks/mario-less/.bootcs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
bootcs:
22
files:
3-
- !include "*.c"
3+
- !exclude "*"
4+
- !require "*.c"

checks/mario-more/.bootcs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
bootcs:
22
files:
3-
- !include "*.c"
3+
- !exclude "*"
4+
- !require "*.c"

checks/me/.bootcs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
bootcs:
22
files:
3-
- !include "*.c"
3+
- !exclude "*"
4+
- !require "*.c"

checks/readability/.bootcs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
bootcs:
22
files:
3-
- !include "*.c"
3+
- !exclude "*"
4+
- !require "*.c"

checks/scrabble/.bootcs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
bootcs:
22
files:
3-
- !include "*.c"
3+
- !exclude "*"
4+
- !require "*.c"

0 commit comments

Comments
 (0)