File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
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
1
+ name = " fortran-csv-module"
2
+ author = " Jacob Williams"
3
+ version = " 1.2.0"
4
+ license = " BSD-3"
5
+ copyright = " Copyright 2017 Jacob Williams"
6
+ description = " A modern Fortran library for reading and writing CSV (comma-separated value) files."
7
+ categories = [" io" ]
8
+ keywords = [" csv" ]
9
+
10
+ [library ]
11
+ source-dir = " src"
You can’t perform that action at this time.
0 commit comments