Skip to content

Commit 3af0e6d

Browse files
authored
Merge pull request #18 from awvwgk/fpm-support
Add fpm package manifest
2 parents f9baf45 + 1727813 commit 3af0e6d

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016-2018, Milan Curcic
1+
Copyright (c) 2016-2020, functional-fortran contributors
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ Start using functional-fortran in your code by including the module:
2929
use mod_functional
3030
```
3131

32+
This project also supports the Fortran Package Manager ([fpm](https://github.com/fortran-lang/fpm)).
33+
Just add functional-fortran to your `fpm.toml`:
34+
```toml
35+
[dependencies]
36+
[dependencies.functional]
37+
git = "https://github.com/wavebitscientific/functional-fortran"
38+
```
39+
3240
## Why functional-fortran?
3341

3442
While not designed as a purely functional programming language,

fpm.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name = "functional"
2+
version = "0.5.0"
3+
license = "BSD-3-Clause"
4+
author = "Milan Curcic"
5+
maintainer = "[email protected]"
6+
copyright = "Copyright (c) 2016-2020, functional-fortran contributors"
7+
8+
[library]
9+
source-dir = "src/lib"

0 commit comments

Comments
 (0)