Skip to content

Commit

Permalink
Merge pull request #18 from awvwgk/fpm-support
Browse files Browse the repository at this point in the history
Add fpm package manifest
  • Loading branch information
milancurcic authored Oct 5, 2020
2 parents f9baf45 + 1727813 commit 3af0e6d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016-2018, Milan Curcic
Copyright (c) 2016-2020, functional-fortran contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ Start using functional-fortran in your code by including the module:
use mod_functional
```

This project also supports the Fortran Package Manager ([fpm](https://github.com/fortran-lang/fpm)).
Just add functional-fortran to your `fpm.toml`:
```toml
[dependencies]
[dependencies.functional]
git = "https://github.com/wavebitscientific/functional-fortran"
```

## Why functional-fortran?

While not designed as a purely functional programming language,
Expand Down
9 changes: 9 additions & 0 deletions fpm.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name = "functional"
version = "0.5.0"
license = "BSD-3-Clause"
author = "Milan Curcic"
maintainer = "[email protected]"
copyright = "Copyright (c) 2016-2020, functional-fortran contributors"

[library]
source-dir = "src/lib"

0 comments on commit 3af0e6d

Please sign in to comment.