File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed
crates/cli/src/subcommands/project Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 11use spacetimedb::{spacetimedb, ReducerContext};
2- use log;
32
43#[spacetimedb(table)]
54pub struct Person {
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33set -euo pipefail
4- set -x
4+
55cd " $( dirname " $0 " ) "
66
77CRST=' \033[0m' # Text Reset
@@ -20,6 +20,9 @@ export SPACETIME_SKIP_CLIPPY=1
2020CONTAINER_NAME=$( docker ps | grep node | awk ' {print $NF}' )
2121docker logs " $CONTAINER_NAME "
2222
23+ rustup update
24+ rustup component add clippy
25+
2326source " lib.include"
2427mkdir -p ~ /.spacetime
2528if [ -f ~ /.spacetime/config.toml ] ; then
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [ " $DESCRIBE_TEST " = 1 ] ; then
4+ echo " This tests to make sure that the default rust module has no clippy errors or warnings"
5+ exit
6+ fi
7+
8+ set -euox pipefail
9+
10+ source " ./test/lib.include"
11+
12+ create_project
13+
14+ cd " $PROJECT_PATH "
15+ run_test cargo clippy -- -D warnings
You can’t perform that action at this time.
0 commit comments