aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Richardson <brichardson@structint.com>2020-03-25 19:01:58 -0500
committerBrad Richardson <brichardson@structint.com>2020-03-25 19:01:58 -0500
commitdb8ee601cdb4fe967105a73929cbbd288a41ce1a (patch)
tree49f2239421f290900d465e35ab1479f3ceb33264
parentab9d22f9a266ec540bc9b0248f180b26dc185ea6 (diff)
downloadfpm-db8ee601cdb4fe967105a73929cbbd288a41ce1a.tar.gz
fpm-db8ee601cdb4fe967105a73929cbbd288a41ce1a.zip
Simplify the example project to what the defaults should be
-rw-r--r--example_project/app/main.f90 (renamed from example_project/app/Hello_world.f90)4
-rw-r--r--example_project/fpm.toml4
2 files changed, 4 insertions, 4 deletions
diff --git a/example_project/app/Hello_world.f90 b/example_project/app/main.f90
index 956a6c2..7783f8f 100644
--- a/example_project/app/Hello_world.f90
+++ b/example_project/app/main.f90
@@ -1,7 +1,7 @@
-program Hello_world
+program example_project
use Hello_m, only: sayHello
implicit none
call sayHello("World")
-end program Hello_world
+end program example_project
diff --git a/example_project/fpm.toml b/example_project/fpm.toml
index eda6e6b..5ad7e97 100644
--- a/example_project/fpm.toml
+++ b/example_project/fpm.toml
@@ -12,8 +12,8 @@ release-options = ["-O3"]
[library]
source-dirs = "src"
-[executables.Hello_world]
-main = "Hello_world.f90"
+[executables.example_project]
+main = "main.f90"
source-dirs = "app"
linker-options = ["-O3"]
dependencies = []