diff options
author | Ondřej Čertík <ondrej@certik.us> | 2020-07-21 09:16:57 -0600 |
---|---|---|
committer | Ondřej Čertík <ondrej@certik.us> | 2020-07-21 11:51:42 -0600 |
commit | f5be437dbee6578b3012deb69090e4b3757aa778 (patch) | |
tree | 8f24693f64993ed80cf038e2643d749807e34bfc | |
parent | 928d50e1564ae74b7cf0f420f6f581aeea86dd57 (diff) | |
download | fpm-f5be437dbee6578b3012deb69090e4b3757aa778.tar.gz fpm-f5be437dbee6578b3012deb69090e4b3757aa778.zip |
Add initial Fortran based fpm
Generated using
fpm new --with-executable fpm
rm -rf fpm/.git
rm -rf fpm/.gitignore
-rw-r--r-- | fpm/README.md | 3 | ||||
-rw-r--r-- | fpm/app/main.f90 | 7 | ||||
-rw-r--r-- | fpm/fpm.toml | 6 | ||||
-rw-r--r-- | fpm/src/fpm.f90 | 10 |
4 files changed, 26 insertions, 0 deletions
diff --git a/fpm/README.md b/fpm/README.md new file mode 100644 index 0000000..e412d68 --- /dev/null +++ b/fpm/README.md @@ -0,0 +1,3 @@ +# fpm + +My cool new project! diff --git a/fpm/app/main.f90 b/fpm/app/main.f90 new file mode 100644 index 0000000..0f03e95 --- /dev/null +++ b/fpm/app/main.f90 @@ -0,0 +1,7 @@ +program main + use fpm, only: say_hello + + implicit none + + call say_hello +end program main diff --git a/fpm/fpm.toml b/fpm/fpm.toml new file mode 100644 index 0000000..34a32ad --- /dev/null +++ b/fpm/fpm.toml @@ -0,0 +1,6 @@ +name = "fpm" +version = "0.1.0" +license = "license" +author = "Jane Doe" +maintainer = "jane.doe@example.com" +copyright = "2020 Jane Doe" diff --git a/fpm/src/fpm.f90 b/fpm/src/fpm.f90 new file mode 100644 index 0000000..d540319 --- /dev/null +++ b/fpm/src/fpm.f90 @@ -0,0 +1,10 @@ +module fpm + implicit none + private + + public :: say_hello +contains + subroutine say_hello + print *, "Hello, fpm!" + end subroutine say_hello +end module fpm |