[config] additional_profiles = [ "all-default-tasks", "docs-all-modification-tasks", "ci-coverage-tasks", "ci-all-build-tasks", "ci-static-code-analysis-tasks", "publish-pre-cleanup", ] [tasks.start-redis] dependencies = ["stop-redis"] script = ''' echo "Starting Redis" redis-server --loglevel warning & sleep 1 ''' [tasks.stop-redis] script = ''' echo "Stopping any running Redis" ps -ef | grep [r]edis-server | awk '{print $2}' | xargs kill -9 || true ''' [tasks.pre-test] condition = { env_false = ['CARGO_MAKE_CI'] } run_task = "start-redis" [tasks.post-test] condition = { env_false = ['CARGO_MAKE_CI'] } run_task = "stop-redis"