Skip to content

Commit

Permalink
chore(Makefile): Move rs targets to root Makefile
Browse files Browse the repository at this point in the history
This is effectively the same and it makes sense to bundle this in the
root Makefile rather than spread it out into a single crates Makefile as
it affects all rust code in the repo.

Signed-off-by: Peter Neuroth <[email protected]>
  • Loading branch information
nepet authored and cdecker committed Jun 17, 2024
1 parent 78f4f62 commit 36dde49
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ include libs/gl-client/Makefile
include libs/gl-client-py/Makefile
include libs/gl-testing/Makefile

check-rs:
cargo test --all -- --test-threads=1

clean-rs:
cargo clean

check: check-rs check-py

clean: clean-rs
Expand Down
6 changes: 0 additions & 6 deletions libs/gl-client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ endif
LIBS=${REPO}/libs
GL_CLIENT_DIR=${LIBS}/gl-client

check-rs:
cd ${LIBS}; cargo test --all -- --test-threads=1

clean-rs:
cd ${LIBS}; cargo clean

check-gl-client:
(cd ${GL_CLIENT_DIR}; cargo test)

Expand Down

0 comments on commit 36dde49

Please sign in to comment.