mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Simplify xtask
lib/bin/test separation isn't really needed.
This commit is contained in:
parent
c17f2bf2a2
commit
d9dcfd81c5
17 changed files with 167 additions and 180 deletions
|
@ -6,12 +6,12 @@ use std::{
|
|||
use anyhow::Result;
|
||||
use xshell::rm_rf;
|
||||
|
||||
pub struct PreCacheCmd;
|
||||
pub(crate) struct PreCacheCmd;
|
||||
|
||||
impl PreCacheCmd {
|
||||
/// Cleans the `./target` dir after the build such that only
|
||||
/// dependencies are cached on CI.
|
||||
pub fn run(self) -> Result<()> {
|
||||
pub(crate) fn run(self) -> Result<()> {
|
||||
let slow_tests_cookie = Path::new("./target/.slow_tests_cookie");
|
||||
if !slow_tests_cookie.exists() {
|
||||
panic!("slow tests were skipped on CI!")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue