File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,34 @@ A modern Fortran library for reading and writing CSV (comma-separated value) fil
6
6
7
7
[ ![ GitHub release] ( https://img.shields.io/github/release/jacobwilliams/fortran-csv-module.svg?style=plastic )] ( https://github.com/jacobwilliams/fortran-csv-module/releases/latest )
8
8
9
+ ### Getting started
10
+ #### Get the code
11
+ ``` bash
12
+ git clone https://github.com/jacobwilliams/fortran-csv-module
13
+ cd fortran-csv-module
14
+ ```
15
+ #### Dependencies
16
+ 1 . Git
17
+ 2 . FoBis or [ fpm] ( https://github.com/fortran-lang/fpm )
18
+ 3 . Ford (optional)
19
+ #### Build with FoBis
20
+ You can build using provided ` build.sh ` :
21
+ ``` bash
22
+ ./build.sh
23
+ ```
24
+
25
+ #### Build with [ fortran-lang/fpm] ( https://github.com/fortran-lang/fpm )
26
+ Fortran Package Manager (fpm) is a great package manager and build system for Fortran.
27
+ You can build using provided ` fpm.toml ` :
28
+ ``` bash
29
+ fpm build
30
+ ```
31
+ To use ` fortran-csv-module ` within your fpm project, add the following to your ` fpm.toml ` file:
32
+ ``` toml
33
+ [dependencies ]
34
+ fortran-csv-module = { git =" https://github.com/jacobwilliams/fortran-csv-module.git" }
35
+ ```
36
+
9
37
### Examples
10
38
11
39
Everything is handled by an object-oriented ` csv_file ` class. Here is an example for writing a file:
Original file line number Diff line number Diff line change @@ -3,9 +3,11 @@ version = "1.3.0"
3
3
author = " Jacob Williams"
4
4
maintainer = " Jacob Williams"
5
5
copyright = " Copyright (c) 2017-2021, Jacob Williams"
6
- license = " BSD"
6
+ license = " BSD-3 "
7
7
description = " Read and Write CSV Files Using Modern Fortran"
8
8
homepage = " https://github.com/jacobwilliams/fortran-csv-module"
9
+ categories = [" io" ]
10
+ keywords = [" csv" ]
9
11
10
12
[library ]
11
13
source-dir = " src"
You can’t perform that action at this time.
0 commit comments