aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Simplify xtaskAleksey Kladov2021-03-011-131/+0
| | | | lib/bin/test separation isn't really needed.
* Add cargo file tidy testEdwin Cheng2021-02-031-12/+21
|
* Fix mega bugAleksey Kladov2021-01-211-1/+5
| | | | https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Manual.20content.20is.20duplicated
* Switch from not_bash to xshellAleksey Kladov2020-10-171-24/+28
|
* Revive cache cleaningAleksey Kladov2020-08-181-40/+5
| | | | | | | The idea here is that, on CI, we only want to cache crates.io dependencies, and not local crates. This keeps the size of the cache low, and also improves performance, as network and moving files on disk (on Windows) can be slow.
* Mention that generated .adocs are generaterdAleksey Kladov2020-08-171-11/+0
|
* Somewhat fix pre-cacheAleksey Kladov2020-08-131-1/+1
|
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-121-1/+1
|
* Add metricsAleksey Kladov2020-07-241-0/+1
|
* Check licensesAleksey Kladov2020-07-141-1/+1
|
* Move to a dedicated fileAleksey Kladov2020-06-081-55/+2
|
* Don't store generated docs in the repoAleksey Kladov2020-06-031-0/+2
|
* Move assists documentation into the manualAleksey Kladov2020-05-311-1/+1
|
* Rename user/readme.adoc -> user/manual.adocAleksey Kladov2020-05-311-1/+5
|
* Allow to set env vars and pipe stdin via not_bashAleksey Kladov2020-04-301-81/+30
|
* Avoid `rustup` invocation for non-rustup rust installationoxalica2020-04-301-33/+67
|
* More compact generated codeAleksey Kladov2020-04-091-0/+1
|
* Don't strip nightly releasesAleksey Kladov2020-04-081-2/+2
|
* When making a release, just promote the latest nightlyAleksey Kladov2020-04-071-2/+2
|
* gen_assists_docs skip hidden filesJosh Mcguigan2020-03-211-0/+16
|
* Restore cargo-fmt gatingAleksey Kladov2020-03-131-5/+3
|
* Build server via dist as wellAleksey Kladov2020-03-041-40/+2
|
* Hopefully fix YAML syntaxAleksey Kladov2020-03-041-1/+0
|
* cargo xtask distAleksey Kladov2020-03-041-1/+40
| | | | This builds the typescript extension
* Clean xtask partial artifacts in `xtask pre-cache`Christopher Durham2020-03-031-2/+5
|
* Print log on releaseAleksey Kladov2020-03-021-0/+9
|
* Some docsAleksey Kladov2020-02-271-1/+3
|
* SimplifyAleksey Kladov2020-02-141-5/+2
|
* Move rm_rf to not-bashAleksey Kladov2020-02-141-8/+3
|
* Add fs2 module for better error messagesAleksey Kladov2020-02-141-5/+5
|
* Update the manual on releaseAleksey Kladov2020-02-141-1/+4
|
* Add dry run mode to xtask releaseAleksey Kladov2020-02-141-5/+7
|
* Replace Cmd with not-bashAleksey Kladov2020-02-141-30/+28
|
* xtask releaseAleksey Kladov2020-02-101-1/+42
|
* Rename add import assistKirill Bulatov2020-02-071-2/+1
|
* todo(codegen): added todo to change the reference to removed ra_tools crateVeetaha2020-01-161-0/+1
|
* Use correct rustfmt for codegenAleksey Kladov2020-01-101-10/+27
| | | | closes #1569
* Share cache cleaning logic between OSesAleksey Kladov2020-01-071-1/+39
|
* CleanupAleksey Kladov2020-01-071-4/+4
|
* Move cmd to a separate dirAleksey Kladov2020-01-071-53/+5
|
* Refactor xtasksAleksey Kladov2020-01-071-37/+4
|
* Switch ast declaration from ron to a macroAleksey Kladov2020-01-031-0/+1
|
* Make reformat hook actually reformat filesAleksey Kladov2019-12-181-0/+1
|
* Use rustup toolchain instead of rustup installEdwin Cheng2019-12-081-2/+2
|
* Don't create a separate bin for format hookAleksey Kladov2019-11-181-12/+26
|
* Use anyhow::Result in xtask, add contextsPascal Hertleif2019-11-131-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This builds on #2231 but was actually done before that. You see, the cause for #2231 was that I got this error message: Error: Error { kind: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } Just switching to `anyhow::Result` got me stack traces (when setting `RUST_LIB_BACKTRACE=1`) that at least showed stack backtrace: 0: std::backtrace::Backtrace::create 1: std::backtrace::Backtrace::capture 2: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from 3: xtask::install_server 4: xtask::install 5: xtask::main 6: std::rt::lang_start::{{closure}} 7: std::panicking::try::do_call 8: __rust_maybe_catch_panic 9: std::rt::lang_start_internal 10: std::rt::lang_start 11: main With the added contexts (not at all exhaustive), the error became Error: install server Caused by: 0: build AutoCfg with target directory 1: No such file or directory (os error 2) Since anyhow is such a small thing (no new transitive dependencies!), and in general gives you `Result<T, Box<dyn Error>>` on steroids, I think this a nice small change. The only slightly annoying thing was to replace all the `Err(format!(…))?` calls (haven't even looked at whether we can make it support wrapping strings though), but the `bail!` macro is shorter anyway :)
* Use run-time project path in xtaskLaurențiu Nicola2019-11-011-1/+8
|
* xtask: move codegen to a moduleAleksey Kladov2019-10-231-172/+3
|
* rename tools -> xtaskAleksey Kladov2019-10-171-1/+1
|
* WIP: move to xtasksAleksey Kladov2019-10-171-0/+332