aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--example_fpm.toml25
-rw-r--r--example_project/app/main.f907
-rw-r--r--example_project/fpm.toml8
-rw-r--r--example_project/src/Hello_m.f9012
-rw-r--r--example_project/test/main.f903
-rw-r--r--test/Spec.hs5
7 files changed, 0 insertions, 61 deletions
diff --git a/.gitignore b/.gitignore
index e125769..fe86e64 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,3 @@
.stack-work/
fpm.cabal
*~
-example_project/build/*
diff --git a/example_fpm.toml b/example_fpm.toml
deleted file mode 100644
index b7a2057..0000000
--- a/example_fpm.toml
+++ /dev/null
@@ -1,25 +0,0 @@
-name = "package-name"
-version = "0.1.0"
-license = "BSD3"
-author = "Author name here"
-maintainer = "example@example.com"
-copyright = "2020 Author name here"
-dependencies = ["../std-lib.tar.gz"]
-compiler = "gfortran"
-devel-options = ["-g", "-Wall", "-Wextra", "-Werror", "-pedantic"]
-release-options = ["-O3"]
-
-[library]
-source-dirs = "src"
-
-[executables.executable-name]
-main = "Main.f90"
-source-dirs = "app"
-linker-options = ["-O3"]
-dependencies = ["iso_varying_string"]
-
-[tests.test-name]
-main = "Spec.f90"
-source-dirs = "test"
-linker-options = ["-Og"]
-dependencies = ["vegetables >= 1.0 && < 2.0"]
diff --git a/example_project/app/main.f90 b/example_project/app/main.f90
deleted file mode 100644
index 7783f8f..0000000
--- a/example_project/app/main.f90
+++ /dev/null
@@ -1,7 +0,0 @@
-program example_project
- use Hello_m, only: sayHello
-
- implicit none
-
- call sayHello("World")
-end program example_project
diff --git a/example_project/fpm.toml b/example_project/fpm.toml
deleted file mode 100644
index 38cc3b7..0000000
--- a/example_project/fpm.toml
+++ /dev/null
@@ -1,8 +0,0 @@
-name = "example_project"
-version = "0.1.0"
-license = "BSD3"
-author = "Author"
-maintainer = "example@example.com"
-copyright = "2020 Author"
-dependencies = []
-compiler = "gfortran"
diff --git a/example_project/src/Hello_m.f90 b/example_project/src/Hello_m.f90
deleted file mode 100644
index 60088a2..0000000
--- a/example_project/src/Hello_m.f90
+++ /dev/null
@@ -1,12 +0,0 @@
-module Hello_m
- implicit none
- private
-
- public :: sayHello
-contains
- subroutine sayHello(name)
- character(len=*), intent(in) :: name
-
- print *, "Hello, " // name // "!"
- end subroutine sayHello
-end module Hello_m
diff --git a/example_project/test/main.f90 b/example_project/test/main.f90
deleted file mode 100644
index c3bc1e9..0000000
--- a/example_project/test/main.f90
+++ /dev/null
@@ -1,3 +0,0 @@
-program runTests
- print *, "Running Tests"
-end program runTests
diff --git a/test/Spec.hs b/test/Spec.hs
index 7aabc09..cd10913 100644
--- a/test/Spec.hs
+++ b/test/Spec.hs
@@ -7,14 +7,9 @@ import System.Directory ( withCurrentDirectory )
main :: IO ()
main = do
- testExampleProject
testHelloWorld
testHelloComplex
-testExampleProject :: IO ()
-testExampleProject =
- withCurrentDirectory "example_project" $ start $ Arguments Build False
-
testHelloWorld :: IO ()
testHelloWorld =
withCurrentDirectory "hello_world" $ start $ Arguments Run False