diff --git a/app/main.f90 b/app/main.f90 new file mode 100644 index 0000000..983603a --- /dev/null +++ b/app/main.f90 @@ -0,0 +1,6 @@ +program main + use WebServer, only: say_hello + implicit none + + call say_hello() +end program main diff --git a/fpm.toml b/fpm.toml new file mode 100644 index 0000000..1cd25ac --- /dev/null +++ b/fpm.toml @@ -0,0 +1,18 @@ +name = "WebServer" +version = "0.1.0" +license = "license" +author = "Rasmus Rasmussen" +maintainer = "jane.doe@example.com" +copyright = "Copyright 2025, Rasmus Rasmussen" +[build] +auto-executables = true +auto-tests = true +auto-examples = true +module-naming = false +[install] +library = false +[fortran] +implicit-typing = false +implicit-external = false +source-form = "free" + diff --git a/src/WebServer.f90 b/src/WebServer.f90 new file mode 100644 index 0000000..f7deead --- /dev/null +++ b/src/WebServer.f90 @@ -0,0 +1,10 @@ +module WebServer + implicit none + private + + public :: say_hello +contains + subroutine say_hello + print *, "Hello, WebServer!" + end subroutine say_hello +end module WebServer diff --git a/test/check.f90 b/test/check.f90 new file mode 100644 index 0000000..d7e3cba --- /dev/null +++ b/test/check.f90 @@ -0,0 +1,5 @@ +program check +implicit none + +print *, "Put some tests in here!" +end program check