aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBrad Richardson <everythingfunctional@protonmail.com>2020-06-07 14:27:57 -0700
committerGitHub <noreply@github.com>2020-06-07 14:27:57 -0700
commit91e95b0ab00278c2dfa90b7ea86d8e95604cd308 (patch)
tree7b62f7015003d2d976dfc39a845ff4fdc0754280 /README.md
parentedf79a808ebe5b4a083ea3452a49e662907aaf07 (diff)
parentb1ea7e44f6d421ad8ec8f711f99aa89d171e4e0f (diff)
downloadfpm-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.md19
1 files changed, 15 insertions, 4 deletions
diff --git a/README.md b/README.md
index ab92fcb..e3e1e1c 100644
--- a/README.md
+++ b/README.md
@@ -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).