From 8baf1ecb97b376e0135bb637330571643019b5f7 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 12 Sep 2018 11:06:35 -0700 Subject: need to specify binary for 'cargo run' now --- .gitlab-ci.yml | 2 +- rust/INSTALL.md | 2 +- rust/README.md | 2 +- 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: -- cgit v1.2.3