From e8c8e239750135de7938be82b9d26d1914585af5 Mon Sep 17 00:00:00 2001 From: Jacob Williams Date: Sun, 22 Oct 2023 21:43:19 -0500 Subject: [PATCH 1/2] moved test directory out of src so we can use the FPM auto-tests features Fixes #35 --- fpm.toml | 25 +++++-------------------- {src/tests => test}/csv_test.f90 | 0 {src/tests => test}/csv_test2.f90 | 0 {src/tests => test}/csv_test3.f90 | 0 4 files changed, 5 insertions(+), 20 deletions(-) rename {src/tests => test}/csv_test.f90 (100%) rename {src/tests => test}/csv_test2.f90 (100%) rename {src/tests => test}/csv_test3.f90 (100%) diff --git a/fpm.toml b/fpm.toml index e66bd74..21bfbcc 100644 --- a/fpm.toml +++ b/fpm.toml @@ -1,8 +1,8 @@ name = "fortran-csv-module" -version = "1.3.1" +version = "1.5.0" author = "Jacob Williams" maintainer = "Jacob Williams" -copyright = "Copyright (c) 2017-2022, Jacob Williams" +copyright = "Copyright (c) 2017-2023, Jacob Williams" license = "BSD-3" description = "Read and Write CSV Files Using Modern Fortran" homepage = "https://github.com/jacobwilliams/fortran-csv-module" @@ -12,25 +12,10 @@ keywords = ["csv"] [library] source-dir = "src" -[[test]] -name = "csv_test" -source-dir = "src/tests" -main = "csv_test.f90" - -[[test]] -name = "csv_test2" -source-dir = "src/tests" -main = "csv_test2.f90" - -[[test]] -name = "csv_test3" -source-dir = "src/tests" -main = "csv_test3.f90" - [install] library = true [build] -auto-executables = false -auto-examples = false -auto-tests = false \ No newline at end of file +auto-executables = true +auto-examples = true +auto-tests = true \ No newline at end of file diff --git a/src/tests/csv_test.f90 b/test/csv_test.f90 similarity index 100% rename from src/tests/csv_test.f90 rename to test/csv_test.f90 diff --git a/src/tests/csv_test2.f90 b/test/csv_test2.f90 similarity index 100% rename from src/tests/csv_test2.f90 rename to test/csv_test2.f90 diff --git a/src/tests/csv_test3.f90 b/test/csv_test3.f90 similarity index 100% rename from src/tests/csv_test3.f90 rename to test/csv_test3.f90 From d074dabdd0569c43b4f7871ce534c9788d306a99 Mon Sep 17 00:00:00 2001 From: Jacob Williams Date: Sun, 22 Oct 2023 21:46:27 -0500 Subject: [PATCH 2/2] readme updates --- README.md | 7 ++++++- fortran-csv-module.md | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 940af91..f128803 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![fortran-csv-module](/media/logo.png) +![fortran-csv-module](media/logo.png) ============ [![GitHub release](https://img.shields.io/github/release/jacobwilliams/fortran-csv-module.svg)](https://github.com/jacobwilliams/fortran-csv-module/releases/latest) @@ -14,6 +14,11 @@ A modern Fortran library for reading and writing CSV (comma-separated value) fil [![GitHub release](https://img.shields.io/github/release/jacobwilliams/fortran-csv-module.svg?style=plastic)](https://github.com/jacobwilliams/fortran-csv-module/releases/latest) +### Documentation + +The latest API documentation for the `master` branch can be found [here](https://jacobwilliams.github.io/fortran-csv-module/). This was generated from the source code using [FORD](https://github.com/Fortran-FOSS-Programmers/ford). + + ### Getting started #### Get the code ```bash diff --git a/fortran-csv-module.md b/fortran-csv-module.md index 628ae64..d3a9578 100644 --- a/fortran-csv-module.md +++ b/fortran-csv-module.md @@ -1,6 +1,7 @@ project: fortran-csv-module project_dir: ./src output_dir: ./doc +media_dir: ./media project_github: https://github.com/jacobwilliams/fortran-csv-module summary: Read and Write CSV Files Using Modern Fortran author: Jacob Williams