Initial commit
This commit is contained in:
parent
2371645147
commit
1bfccba59f
6
app/main.f90
Normal file
6
app/main.f90
Normal file
@ -0,0 +1,6 @@
|
||||
program main
|
||||
use WebServer, only: say_hello
|
||||
implicit none
|
||||
|
||||
call say_hello()
|
||||
end program main
|
18
fpm.toml
Normal file
18
fpm.toml
Normal file
@ -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"
|
||||
|
10
src/WebServer.f90
Normal file
10
src/WebServer.f90
Normal file
@ -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
|
5
test/check.f90
Normal file
5
test/check.f90
Normal file
@ -0,0 +1,5 @@
|
||||
program check
|
||||
implicit none
|
||||
|
||||
print *, "Put some tests in here!"
|
||||
end program check
|
Loading…
Reference in New Issue
Block a user