aboutsummaryrefslogtreecommitdiff
path: root/example_packages/hello_world
diff options
context:
space:
mode:
Diffstat (limited to 'example_packages/hello_world')
-rw-r--r--example_packages/hello_world/.gitignore1
-rw-r--r--example_packages/hello_world/app/main.f903
-rw-r--r--example_packages/hello_world/fpm.toml1
3 files changed, 5 insertions, 0 deletions
diff --git a/example_packages/hello_world/.gitignore b/example_packages/hello_world/.gitignore
new file mode 100644
index 0000000..a007fea
--- /dev/null
+++ b/example_packages/hello_world/.gitignore
@@ -0,0 +1 @@
+build/*
diff --git a/example_packages/hello_world/app/main.f90 b/example_packages/hello_world/app/main.f90
new file mode 100644
index 0000000..d16022b
--- /dev/null
+++ b/example_packages/hello_world/app/main.f90
@@ -0,0 +1,3 @@
+program hello_world
+ print *, "Hello, World!"
+end program hello_world
diff --git a/example_packages/hello_world/fpm.toml b/example_packages/hello_world/fpm.toml
new file mode 100644
index 0000000..b80e8d1
--- /dev/null
+++ b/example_packages/hello_world/fpm.toml
@@ -0,0 +1 @@
+name = "hello_world"