Skip to content

Commit ac70760

Browse files
committed
Should be good right?
1 parent 1c39d63 commit ac70760

7 files changed

+71
-57
lines changed

tests/snapshots/dependency-cycle.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44
[2/7] 👀 Found source files in 0.00s
55
[3/7] 📝 Reading compile state...
66
[3/7] 📝 Read compile state 0.00s
7+
[4/7] 🧹 Cleaning up previous build...
8+

9+
[4/7] 🧹 Cleaned 0/13 0.00s
710
[4/7] 🧹 Cleaning up previous build...
811
[4/7] 🧹 Cleaned 0/11 0.00s
912

1013
[5/7] 🧱 Parsed 1 source files in 0.00s
1114

1215
[6/7] ️🌴 Collected deps in 0.00s
1316

14-
[7/7] ️🛑 Compiled 1 modules in 0.00s
17+
[7/7] ️🛑 Compiled 0 modules in 0.00s
1518
ERROR:
1619
[7/7] ❌ Compiled 0 modules in 0.00s
1720

tests/snapshots/remove-file.txt

+13-16
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
[1/7] 📦 Building package tree...
2-
[1/7] 📦 Built package tree in 0.00s
3-
[2/7] 👀 Finding source files...
4-
[2/7] 👀 Found source files in 0.00s
5-
[3/7] 📝 Reading compile state...
6-
[3/7] 📝 Read compile state 0.00s
7-
[4/7] 🧹 Cleaning up previous build...
8-
[4/7] 🧹 Cleaned 1/11 0.00s
9-

10-
[5/7] 🧱 Parsed 0 source files in 0.00s
11-

12-
[6/7] ️🌴 Collected deps in 0.00s
13-

14-
[7/7] ️🛑 Compiled 2 modules in 0.00s
1+
[1/7] 📦 Building package tree...
2+
[1/7] 📦 Built package tree in 0.00s
3+
[2/7] 🕵️ Finding source files...
4+
[2/7] 🕵️ Found source files in 0.00s
5+
[3/7] 📝 Reading compile state...
6+
[3/7] 📝 Read compile state 0.00s
7+
[4/7] 🧹 Cleaning up previous build...
8+
[4/7] 🧹 Cleaned 1/13 0.00s
9+
[5/7] 🧱 Parsed 0 source files in 0.00s
10+
[6/7] ️🌴 Collected deps in 0.00s
11+
[7/7] ️🛑 Compiled 1 modules in 0.00s
1512
ERROR:
1613

1714
We've found a bug for you!
@@ -30,5 +27,5 @@ ERROR:
3027

3128

3229

33-
Incremental build failed. Error: 
34-
Failed to Compile. See Errors Above
30+
ERROR:
31+
Incremental build failed. Error:  ️🛑 Failed to Compile. See Errors Above

tests/snapshots/rename-file-internal-dep-namespace.txt

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
[1/7] 📦 Building package tree...[1/7] 📦 Built package tree in 0.00s
2-
[2/7] 👀 Finding source files...[2/7] 👀 Found source files in 0.00s
3-
[3/7] 📝 Reading compile state...[3/7] 📝 Read compile state 0.00s
4-
[4/7] 🧹 Cleaning up previous build...[4/7] 🧹 Cleaned 2/11 0.00s
1+
[1/7] 📦 Building package tree...
2+
[1/7] 📦 Built package tree in 0.00s
3+
[2/7] 🕵️ Finding source files...
4+
[2/7] 🕵️ Found source files in 0.00s
5+
[3/7] 📝 Reading compile state...
6+
[3/7] 📝 Read compile state 0.00s
7+
[4/7] 🧹 Cleaning up previous build...
8+
[4/7] 🧹 Cleaned 2/13 0.00s
59
[5/7] 🧱 Parsed 2 source files in 0.00s
6-
[6/7] 🌴 Collected deps in 0.00s
7-
[7/7] ❌ Compiled 3 modules in 0.00s
10+
[6/7] ️🌴 Collected deps in 0.00s
11+
[7/7] ️🛑 Compiled 3 modules in 0.00s
12+
ERROR:
813

914
We've found a bug for you!
1015
/packages/new-namespace/src/NS_alias.res:2:1-16
@@ -22,4 +27,5 @@
2227
Hint: Did you mean Other_module2?
2328

2429

25-
Incremental build failed. Error:  ❌ Failed to Compile. See Errors Above
30+
ERROR:
31+
Incremental build failed. Error:  ️🛑 Failed to Compile. See Errors Above

tests/snapshots/rename-file-internal-dep.txt

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
[1/7] 📦 Building package tree...[1/7] 📦 Built package tree in 0.00s
2-
[2/7] 👀 Finding source files...[2/7] 👀 Found source files in 0.00s
3-
[3/7] 📝 Reading compile state...[3/7] 📝 Read compile state 0.00s
4-
[4/7] 🧹 Cleaning up previous build...[4/7] 🧹 Cleaned 2/11 0.00s
1+
[1/7] 📦 Building package tree...
2+
[1/7] 📦 Built package tree in 0.00s
3+
[2/7] 🕵️ Finding source files...
4+
[2/7] 🕵️ Found source files in 0.00s
5+
[3/7] 📝 Reading compile state...
6+
[3/7] 📝 Read compile state 0.00s
7+
[4/7] 🧹 Cleaning up previous build...
8+
[4/7] 🧹 Cleaned 2/13 0.00s
59
[5/7] 🧱 Parsed 2 source files in 0.00s
6-
[6/7] 🌴 Collected deps in 0.00s
7-
[7/7] ❌ Compiled 2 modules in 0.00s
10+
[6/7] ️🌴 Collected deps in 0.00s
11+
[7/7] ️🛑 Compiled 2 modules in 0.00s
12+
ERROR:
813

914
We've found a bug for you!
1015
/packages/main/src/Main.res:4:8-24
@@ -22,4 +27,5 @@
2227

2328

2429

25-
Incremental build failed. Error:  ❌ Failed to Compile. See Errors Above
30+
ERROR:
31+
Incremental build failed. Error:  ️🛑 Failed to Compile. See Errors Above

tests/snapshots/rename-file-with-interface.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@
77
[2/7] 👀 Found source files in 0.00s
88
[3/7] 📝 Reading compile state...
99
[3/7] 📝 Read compile state 0.00s
10+
[4/7] 🧹 Cleaning up previous build...
11+

12+
[4/7] 🧹 Cleaned 2/13 0.00s
1013
[4/7] 🧹 Cleaning up previous build...
1114
[4/7] 🧹 Cleaned 2/11 0.00s
1215

1316
[5/7] 🧱 Parsed 1 source files in 0.00s
1417

1518
[6/7] ️🌴 Collected deps in 0.00s
1619

17-
[7/7] ⚔️ Compiled 2 modules in 0.00s
20+
[7/7] ⚔️ Compiled 1 modules in 0.00s
1821

1922

2023
✨ Finished Compilation in 0.00s

tests/snapshots/rename-file.txt

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
[1/7] 📦 Building package tree...[1/7] 📦 Built package tree in 0.00s
2-
[2/7] 👀 Finding source files...[2/7] 👀 Found source files in 0.00s
3-
[3/7] 📝 Reading compile state...[3/7] 📝 Read compile state 0.00s
4-
[4/7] 🧹 Cleaning up previous build...[4/7] 🧹 Cleaned 1/11 0.00s
1+
[1/7] 📦 Building package tree...
2+
[1/7] 📦 Built package tree in 0.00s
3+
[2/7] 🕵️ Finding source files...
4+
[2/7] 🕵️ Found source files in 0.00s
5+
[3/7] 📝 Reading compile state...
6+
[3/7] 📝 Read compile state 0.00s
7+
[4/7] 🧹 Cleaning up previous build...
8+
[4/7] 🧹 Cleaned 1/13 0.00s
59
[5/7] 🧱 Parsed 1 source files in 0.00s
6-
[6/7] 🌴 Collected deps in 0.00s
7-
[7/7] 🤺 Compiled 1 modules in 0.00s
10+
[6/7] 🌴 Collected deps in 0.00s
11+
[7/7] ⚔️ Compiled 1 modules in 0.00s
812

913
✨ Finished Compilation in 0.00s

tests/snapshots/rename-interface-file.txt

+14-19
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
1-
[1/7] 📦 Building package tree...
2-
[1/7] 📦 Built package tree in 0.00s
3-
[2/7] 👀 Finding source files...WARN:
4-

5-
No implementation file found for interface file (skipping): src/ModuleWithInterface2.resi
6-

7-
[2/7] 👀 Found source files in 0.00s
8-
[3/7] 📝 Reading compile state...
9-
[3/7] 📝 Read compile state 0.00s
10-
[4/7] 🧹 Cleaning up previous build...
11-
[4/7] 🧹 Cleaned 1/11 0.00s
12-

13-
[5/7] 🧱 Parsed 1 source files in 0.00s
14-

15-
[6/7] 🌴 Collected deps in 0.00s
16-

17-
[7/7] ⚔️ Compiled 2 modules in 0.00s
1+
[1/7] 📦 Building package tree...
2+
[1/7] 📦 Built package tree in 0.00s
3+
[2/7] 🕵️ Finding source files...
4+
WARN:
5+
 No implementation file found for interface file (skipping): src/ModuleWithInterface2.resi
6+
[2/7] 🕵️ Found source files in 0.00s
7+
[3/7] 📝 Reading compile state...
8+
[3/7] 📝 Read compile state 0.00s
9+
[4/7] 🧹 Cleaning up previous build...
10+
[4/7] 🧹 Cleaned 1/13 0.00s
11+
[5/7] 🧱 Parsed 1 source files in 0.00s
12+
[6/7] ️🌴 Collected deps in 0.00s
13+
[7/7] ⚔️ Compiled 1 modules in 0.00s
1814

19-

20-
✨ Finished Compilation in 0.00s
15+
✨ Finished Compilation in 0.00s

0 commit comments

Comments
 (0)