aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-12 11:06:35 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-12 11:06:35 -0700
commit8baf1ecb97b376e0135bb637330571643019b5f7 (patch)
treebd39c45d1b830214af10ae42d741a66a5221e05e
parent722e4321bfa6431136b1e03f0c9e4ac11903c4df (diff)
downloadfatcat-8baf1ecb97b376e0135bb637330571643019b5f7.tar.gz
fatcat-8baf1ecb97b376e0135bb637330571643019b5f7.zip
need to specify binary for 'cargo run' now
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--rust/INSTALL.md2
-rw-r--r--rust/README.md2
3 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4c009a13..a02e5c06 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,7 +23,7 @@ unified_test:
- diesel database reset && diesel migration run
- cargo build
- cargo test -- --test-threads 1
- - cargo run &
+ - cargo run --bin fatcatd &
- cd ../python
- pipenv install --dev --deploy
- pipenv run pytest --cov
diff --git a/rust/INSTALL.md b/rust/INSTALL.md
index c2b86c51..7b7d6001 100644
--- a/rust/INSTALL.md
+++ b/rust/INSTALL.md
@@ -33,4 +33,4 @@ To install manually, on a bare server, as root:
# as fatcat, in a screen or something
cd /srv/fatcat/fatcat/rust
- cargo run
+ cargo run --bin fatcatd
diff --git a/rust/README.md b/rust/README.md
index c061a1f9..a2d58739 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -23,7 +23,7 @@ Re-create database from scratch:
Build and run:
- cargo run
+ cargo run --bin fatcatd
Tests: