Skip to content

Commit

Permalink
Remove coverage import altogether
Browse files Browse the repository at this point in the history
  • Loading branch information
lynzrand committed Dec 9, 2024
1 parent 7228b15 commit a954f22
Show file tree
Hide file tree
Showing 45 changed files with 59 additions and 193 deletions.
8 changes: 3 additions & 5 deletions array/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"import": [
"moonbitlang/core/builtin",

"moonbitlang/core/test",
"moonbitlang/core/quickcheck",
"moonbitlang/core/quickcheck/splitmix"
],
"test-import": [
"moonbitlang/core/random"
],
"test-import": ["moonbitlang/core/random"],
"targets": {
"panic_test.mbt": ["not", "native"]
}
}
}
5 changes: 1 addition & 4 deletions bool/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage"
]
"import": ["moonbitlang/core/builtin"]
}
6 changes: 1 addition & 5 deletions buffer/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage",
"moonbitlang/core/bytes"
]
"import": ["moonbitlang/core/builtin", "moonbitlang/core/bytes"]
}
1 change: 0 additions & 1 deletion builtin/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"moonbitlang/core/bytes",
"moonbitlang/core/int",
"moonbitlang/core/double",
"moonbitlang/core/coverage",
"moonbitlang/core/uint64",
"moonbitlang/core/array",
"moonbitlang/core/int64",
Expand Down
5 changes: 1 addition & 4 deletions byte/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage"
]
"import": ["moonbitlang/core/builtin"]
}
11 changes: 3 additions & 8 deletions bytes/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage"
],
"test-import": [
"moonbitlang/core/array"
]
}
"import": ["moonbitlang/core/builtin"],
"test-import": ["moonbitlang/core/array"]
}
5 changes: 1 addition & 4 deletions char/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage"
]
"import": ["moonbitlang/core/builtin"]
}
5 changes: 1 addition & 4 deletions deque/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage"
],
"import": ["moonbitlang/core/builtin"],
"targets": {
"panic_test.mbt": ["not", "native"]
}
Expand Down
8 changes: 2 additions & 6 deletions double/internal/ryu/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/bool",
"moonbitlang/core/coverage"
]
}
"import": ["moonbitlang/core/builtin", "moonbitlang/core/bool"]
}
1 change: 0 additions & 1 deletion double/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/int64",
"moonbitlang/core/coverage",
"moonbitlang/core/double/internal/ryu"
],
"targets": {
Expand Down
5 changes: 1 addition & 4 deletions error/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage"
]
"import": ["moonbitlang/core/builtin"]
}
6 changes: 1 addition & 5 deletions float/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage",
"moonbitlang/core/double"
],
"import": ["moonbitlang/core/builtin", "moonbitlang/core/double"],
"test-import": ["moonbitlang/core/quickcheck"],
"targets": {
"round_js.mbt": ["js"],
Expand Down
5 changes: 1 addition & 4 deletions hashmap/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage",
"moonbitlang/core/test",
"moonbitlang/core/array",
"moonbitlang/core/tuple",
"moonbitlang/core/quickcheck"
],
"test-import": [
"moonbitlang/core/string"
]
"test-import": ["moonbitlang/core/string"]
}
6 changes: 1 addition & 5 deletions hashset/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
"moonbitlang/core/builtin",
"moonbitlang/core/test",
"moonbitlang/core/array",
"moonbitlang/core/coverage",
"moonbitlang/core/quickcheck"
],
"test-import": [
"moonbitlang/core/string",
"moonbitlang/core/int"
]
"test-import": ["moonbitlang/core/string", "moonbitlang/core/int"]
}
1 change: 0 additions & 1 deletion immut/array/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage",
"moonbitlang/core/quickcheck",
{
"path": "moonbitlang/core/array",
Expand Down
1 change: 0 additions & 1 deletion immut/hashmap/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/array",
"moonbitlang/core/coverage",
"moonbitlang/core/tuple",
"moonbitlang/core/quickcheck",
"moonbitlang/core/immut/internal/sparse_array"
Expand Down
8 changes: 2 additions & 6 deletions immut/hashset/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/array",
"moonbitlang/core/coverage",
"moonbitlang/core/immut/internal/sparse_array",
"moonbitlang/core/quickcheck"
],
"test-import": [
"moonbitlang/core/string",
"moonbitlang/core/int"
]
}
"test-import": ["moonbitlang/core/string", "moonbitlang/core/int"]
}
8 changes: 2 additions & 6 deletions immut/internal/sparse_array/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/array",
"moonbitlang/core/coverage"
]
}
"import": ["moonbitlang/core/builtin", "moonbitlang/core/array"]
}
1 change: 0 additions & 1 deletion immut/list/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/array",
"moonbitlang/core/coverage",
"moonbitlang/core/quickcheck",
"moonbitlang/core/json"
],
Expand Down
1 change: 0 additions & 1 deletion immut/priority_queue/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/array",
"moonbitlang/core/coverage",
"moonbitlang/core/immut/list",
"moonbitlang/core/quickcheck"
],
Expand Down
1 change: 0 additions & 1 deletion immut/sorted_map/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"moonbitlang/core/tuple",
"moonbitlang/core/string",
"moonbitlang/core/array",
"moonbitlang/core/coverage",
"moonbitlang/core/quickcheck",
"moonbitlang/core/json"
],
Expand Down
1 change: 0 additions & 1 deletion immut/sorted_set/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"moonbitlang/core/builtin",
"moonbitlang/core/array",
"moonbitlang/core/quickcheck",
"moonbitlang/core/coverage",
"moonbitlang/core/json"
],
"targets": {
Expand Down
5 changes: 1 addition & 4 deletions int/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage"
]
"import": ["moonbitlang/core/builtin"]
}
7 changes: 1 addition & 6 deletions int64/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage",
"moonbitlang/core/bytes",
"moonbitlang/core/uint"
]
"import": ["moonbitlang/core/builtin", "moonbitlang/core/bytes", "moonbitlang/core/uint"]
}
3 changes: 1 addition & 2 deletions json/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"moonbitlang/core/builtin",
"moonbitlang/core/double",
"moonbitlang/core/string",
"moonbitlang/core/coverage",
"moonbitlang/core/strconv"
],
"test-import": [
Expand All @@ -12,4 +11,4 @@
"moonbitlang/core/unit",
"moonbitlang/core/array"
]
}
}
12 changes: 3 additions & 9 deletions math/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/double",
"moonbitlang/core/coverage"
],
"test-import": [
"moonbitlang/core/test"
],
"test-import-all" : true
"import": ["moonbitlang/core/builtin", "moonbitlang/core/double"],
"test-import": ["moonbitlang/core/test"],
"test-import-all": true
}
3 changes: 1 addition & 2 deletions option/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/quickcheck",
"moonbitlang/core/quickcheck/splitmix",
"moonbitlang/core/coverage"
"moonbitlang/core/quickcheck/splitmix"
],
"targets": {
"panic_test.mbt": ["not", "native"]
Expand Down
3 changes: 1 addition & 2 deletions priority_queue/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
"moonbitlang/core/builtin",
"moonbitlang/core/array",
"moonbitlang/core/quickcheck",
"moonbitlang/core/coverage",
"moonbitlang/core/quickcheck/splitmix"
],
"targets": {
"panic_test.mbt": ["not", "native"]
}
}
}
10 changes: 2 additions & 8 deletions queue/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage",
"moonbitlang/core/quickcheck"
],
"test-import": [
"moonbitlang/core/array"
],
"import": ["moonbitlang/core/builtin", "moonbitlang/core/quickcheck"],
"test-import": ["moonbitlang/core/array"],
"targets": {
"panic_test.mbt": ["not", "native"]
}
Expand Down
6 changes: 1 addition & 5 deletions quickcheck/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"import": [
"moonbitlang/core/quickcheck/splitmix",
"moonbitlang/core/builtin",
"moonbitlang/core/coverage"
]
"import": ["moonbitlang/core/quickcheck/splitmix", "moonbitlang/core/builtin"]
}
2 changes: 1 addition & 1 deletion quickcheck/splitmix/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"import": ["moonbitlang/core/builtin", "moonbitlang/core/coverage"]
"import": ["moonbitlang/core/builtin"]
}
8 changes: 2 additions & 6 deletions random/internal/random_source/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/array",
"moonbitlang/core/coverage"
]
}
"import": ["moonbitlang/core/builtin", "moonbitlang/core/array"]
}
15 changes: 6 additions & 9 deletions random/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/double",
"moonbitlang/core/coverage",
"moonbitlang/core/random/internal/random_source"
],
"test-import": [
"moonbitlang/core/float"
]
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/double",
"moonbitlang/core/random/internal/random_source"
],
"test-import": ["moonbitlang/core/float"]
}
5 changes: 2 additions & 3 deletions rational/moon.pkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"moonbitlang/core/result",
"moonbitlang/core/double",
"moonbitlang/core/int64",
"moonbitlang/core/quickcheck",
"moonbitlang/core/coverage"
"moonbitlang/core/quickcheck"
]
}
}
6 changes: 1 addition & 5 deletions ref/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/quickcheck",
"moonbitlang/core/coverage"
]
"import": ["moonbitlang/core/builtin", "moonbitlang/core/quickcheck"]
}
6 changes: 1 addition & 5 deletions result/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage",
"moonbitlang/core/quickcheck"
],
"import": ["moonbitlang/core/builtin", "moonbitlang/core/quickcheck"],
"targets": {
"panic_test.mbt": ["not", "native"]
}
Expand Down
5 changes: 1 addition & 4 deletions sorted_map/moon.pkg.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"import": [
"moonbitlang/core/builtin",
"moonbitlang/core/coverage",
"moonbitlang/core/option",
"moonbitlang/core/tuple",
"moonbitlang/core/quickcheck"
],
"test-import": [
"moonbitlang/core/array"
]
"test-import": ["moonbitlang/core/array"]
}
Loading

0 comments on commit a954f22

Please sign in to comment.