make xtask runnable from xtask dir because why not. include help prompt in CI

This commit is contained in:
Lotte Steenbrink 2021-01-26 11:29:27 +01:00
parent 1b14efbb8b
commit c7a16d2555
2 changed files with 3 additions and 3 deletions

View file

@ -55,9 +55,7 @@ jobs:
run: |
cargo build --verbose
cargo fmt --all -- --check
# todo try xtask basics
cargo xtask
- name: build and fmt beginner/apps
working-directory: ./beginner/apps

2
xtask/.cargo/config.toml Normal file
View file

@ -0,0 +1,2 @@
[alias]
xtask = "run --manifest-path ./Cargo.toml --"