diff options
author | Brad Richardson <everythingfunctional@protonmail.com> | 2020-06-07 14:27:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-07 14:27:57 -0700 |
commit | 91e95b0ab00278c2dfa90b7ea86d8e95604cd308 (patch) | |
tree | 7b62f7015003d2d976dfc39a845ff4fdc0754280 /README.md | |
parent | edf79a808ebe5b4a083ea3452a49e662907aaf07 (diff) | |
parent | b1ea7e44f6d421ad8ec8f711f99aa89d171e4e0f (diff) | |
download | fpm-91e95b0ab00278c2dfa90b7ea86d8e95604cd308.tar.gz fpm-91e95b0ab00278c2dfa90b7ea86d8e95604cd308.zip |
Merge pull request #89 from everythingfunctional/MoreArguments
Add ability to specify which test or program to run and their args
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -24,9 +24,9 @@ git clone https://github.com/fortran-lang/fpm cd fpm ``` -### Build and Test FPM +### Build and Test fpm -Build FPM using: +Build fpm using: ``` stack build ``` @@ -41,6 +41,17 @@ stack install On Linux, the above command installs `stack` to `${HOME}/.local/bin`. -### Building your Fortran project with FPM +### Building your Fortran project with fpm -Please follow the instructions in the [Packaging guide](PACKAGING.md). +fpm understands the basic commands: + +* `fpm build` - build your library, executables and tests +* `fpm run` - run executables +* `fpm test`- run tests + +The command `fpm run` can optionally accept the name of the specific executable +to run, as can `fpm test`; like `fpm run specifc_executable`. Command line +arguments can also be passed to the executable(s) or test(s) with the option +`--args "some arguments"`. + +See additional instructions in the [Packaging guide](PACKAGING.md). |