Skip to content

Commit 39cca4d

Browse files
Merge branch 'master' into bootstrap_submodule_support
2 parents e7b135b + ad9ebad commit 39cca4d

File tree

13 files changed

+479
-249
lines changed

13 files changed

+479
-249
lines changed

ci/run_tests.bat

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,30 @@ if errorlevel 1 exit 1
2525
if errorlevel 1 exit 1
2626

2727

28+
cd ..\hello_fpm
29+
if errorlevel 1 exit 1
30+
31+
..\..\..\fpm\build\gfortran_debug\app\fpm build
32+
if errorlevel 1 exit 1
33+
34+
.\build\gfortran_debug\app\hello_fpm
35+
if errorlevel 1 exit 1
36+
37+
38+
cd ..\circular_test
39+
if errorlevel 1 exit 1
40+
41+
..\..\..\fpm\build\gfortran_debug\app\fpm build
42+
if errorlevel 1 exit 1
43+
44+
45+
cd ..\circular_example
46+
if errorlevel 1 exit 1
47+
48+
..\..\..\fpm\build\gfortran_debug\app\fpm build
49+
if errorlevel 1 exit 1
50+
51+
2852
cd ..\hello_complex
2953
if errorlevel 1 exit 1
3054

ci/run_tests.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ cd ../example_packages/hello_world
1212
../../fpm/build/gfortran_debug/app/fpm build
1313
./build/gfortran_debug/app/hello_world
1414

15+
cd ../hello_fpm
16+
../../../fpm/build/gfortran_debug/app/fpm build
17+
./build/gfortran_debug/app/hello_fpm
18+
19+
cd ../circular_test
20+
../../../fpm/build/gfortran_debug/app/fpm build
21+
22+
cd ../circular_example
23+
../../../fpm/build/gfortran_debug/app/fpm build
24+
1525
cd ../hello_complex
1626
../../fpm/build/gfortran_debug/app/fpm build
1727
./build/gfortran_debug/app/say_Hello

example_packages/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ the features demonstrated in each package and which versions of fpm are supporte
77
| Name | Features | Bootstrap (Haskell) fpm | fpm |
88
|---------------------|---------------------------------------------------------------|:-----------------------:|:---:|
99
| auto_discovery_off | Default layout with auto-discovery disabled | N | Y |
10-
| circular_example | Local path dependency; circular dependency | Y | N |
11-
| circular_test | Local path dependency; circular dependency | Y | N |
10+
| circular_example | Local path dependency; circular dependency | Y | Y |
11+
| circular_test | Local path dependency; circular dependency | Y | Y |
1212
| hello_complex | Non-standard directory layout; multiple tests and executables | Y | Y |
1313
| hello_complex_2 | Auto-discovery of tests and executables with modules | N | Y |
14-
| hello_fpm | App-only; local path dependency | Y | N |
14+
| hello_fpm | App-only; local path dependency | Y | Y |
1515
| hello_world | App-only | Y | Y |
1616
| makefile_complex | External build command (makefile); local path dependency | Y | N |
1717
| program_with_module | App-only; module+program in single source file | Y | Y |
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
module app_hello_mod
22
implicit none
33

4+
integer :: hello_int = 42
5+
46
end module app_hello_mod

fpm/app/main.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ program main
77
fpm_test_settings, &
88
fpm_install_settings, &
99
get_command_line_settings
10-
use fpm, only: cmd_build, cmd_install, cmd_new, cmd_run, cmd_test
10+
use fpm, only: cmd_build, cmd_install, cmd_run, cmd_test
11+
use fpm_cmd_new, only: cmd_new
1112

1213
implicit none
1314

0 commit comments

Comments
 (0)