@@ -12,13 +12,15 @@ if errorlevel 1 exit 1
12
12
fpm test
13
13
if errorlevel 1 exit 1
14
14
15
- build\gfortran_debug\app\fpm
15
+ for /f %%i in ('where /r build fpm.exe') do set fpm_path = %%i
16
+
17
+ %fpm_path%
16
18
if errorlevel 1 exit 1
17
19
18
20
cd ..\example_packages\hello_world
19
21
if errorlevel 1 exit 1
20
22
21
- ..\..\fpm\build\gfortran_debug\app\fpm build
23
+ %fpm_path% build
22
24
if errorlevel 1 exit 1
23
25
24
26
.\build\gfortran_debug\app\hello_world
@@ -28,7 +30,7 @@ if errorlevel 1 exit 1
28
30
cd ..\hello_fpm
29
31
if errorlevel 1 exit 1
30
32
31
- ..\..\fpm\build\gfortran_debug\app\fpm build
33
+ %fpm_path% build
32
34
if errorlevel 1 exit 1
33
35
34
36
.\build\gfortran_debug\app\hello_fpm
@@ -38,21 +40,21 @@ if errorlevel 1 exit 1
38
40
cd ..\circular_test
39
41
if errorlevel 1 exit 1
40
42
41
- ..\..\fpm\build\gfortran_debug\app\fpm build
43
+ %fpm_path% build
42
44
if errorlevel 1 exit 1
43
45
44
46
45
47
cd ..\circular_example
46
48
if errorlevel 1 exit 1
47
49
48
- ..\..\fpm\build\gfortran_debug\app\fpm build
50
+ %fpm_path% build
49
51
if errorlevel 1 exit 1
50
52
51
53
52
54
cd ..\hello_complex
53
55
if errorlevel 1 exit 1
54
56
55
- ..\..\fpm\build\gfortran_debug\app\fpm build
57
+ %fpm_path% build
56
58
if errorlevel 1 exit 1
57
59
58
60
.\build\gfortran_debug\app\say_Hello
@@ -71,7 +73,7 @@ if errorlevel 1 exit 1
71
73
cd ..\hello_complex_2
72
74
if errorlevel 1 exit 1
73
75
74
- ..\..\fpm\build\gfortran_debug\app\fpm build
76
+ %fpm_path% build
75
77
if errorlevel 1 exit 1
76
78
77
79
.\build\gfortran_debug\app\say_hello_world
@@ -89,7 +91,7 @@ if errorlevel 1 exit 1
89
91
cd ..\auto_discovery_off
90
92
if errorlevel 1 exit 1
91
93
92
- ..\..\fpm\build\gfortran_debug\app\fpm build
94
+ %fpm_path% build
93
95
if errorlevel 1 exit 1
94
96
95
97
.\build\gfortran_debug\app\auto_discovery_off
@@ -106,7 +108,7 @@ if exist .\build\gfortran_debug\test\unused_test exit /B 1
106
108
cd ..\with_c
107
109
if errorlevel 1 exit 1
108
110
109
- ..\..\fpm\build\gfortran_debug\app\fpm build
111
+ %fpm_path% build
110
112
if errorlevel 1 exit 1
111
113
112
114
.\build\gfortran_debug\app\with_c
@@ -116,14 +118,14 @@ if errorlevel 1 exit 1
116
118
cd ..\submodules
117
119
if errorlevel 1 exit 1
118
120
119
- ..\..\fpm\build\gfortran_debug\app\fpm build
121
+ %fpm_path% build
120
122
if errorlevel 1 exit 1
121
123
122
124
123
125
cd ..\program_with_module
124
126
if errorlevel 1 exit 1
125
127
126
- ..\..\fpm\build\gfortran_debug\app\fpm build
128
+ %fpm_path% build
127
129
if errorlevel 1 exit 1
128
130
129
131
.\build\gfortran_debug\app\Program_with_module
0 commit comments