about summary refs log tree commit diff
path: root/xtask/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2022-06-10internal: Bump DependenciesLukas Wirth-3/+3
2022-03-22minor: Bump dependenciesLukas Wirth-4/+4
2022-03-17Bump xshell and fix distLaurențiu Nicola-1/+1
2022-03-14:arrow_up: xshellAleksey Kladov-1/+1
2021-12-16Bump MSRV (1.57)iDawer-1/+1
2021-10-23Set MSRVLaurențiu Nicola-1/+2
2021-10-21Migrate to edition 2021Lukas Wirth-1/+1
2021-07-05minor: drop dummy authors fieldAleksey Kladov-1/+0
2021-07-04internal: make `xtask` lighterAleksey Kladov-1/+0
Moving tests to `rust-analyzer` crate allows removing walkdir dependency from `xtask`. It does seem more reasonable to keep tidy tests outside of the "build system" and closer to other integration tests.
2021-07-03internal: overhaul code generationAleksey Kladov-3/+0
* Keep codegen adjacent to the relevant crates. * Remove codgen deps from xtask, speeding-up from-source installation. This regresses the release process a bit, as it now needs to run the tests (and, by extension, compile the code).
2021-06-11Update ungrammarJonas Schievink-1/+1
2021-03-19Parse extended_key_value_attributesLukas Wirth-1/+1
2021-03-16Fix macro expansion for statements w/o semicolonEdwin Cheng-1/+1
2021-03-07:arrow_up: xflagsAleksey Kladov-1/+1
2021-03-01Use cli parser with auto-generated helpAleksey Kladov-1/+1
2021-03-01Simplify xtaskAleksey Kladov-3/+0
lib/bin/test separation isn't really needed.
2021-02-21Pin ungrammarLaurențiu Nicola-1/+1
2021-01-19Update pico-argskjeremy-1/+1
Should maintains existing behavior
2021-01-15Wrap remaining self/super/crate in Name{Ref}Lukas Wirth-1/+1
2021-01-15Handle self/super/crate in PathSegment as NameRefLukas Wirth-1/+1
2021-01-15Upgrade ungrammar to v1.7Daiki Ihara-1/+1
2021-01-05Rename expr -> tail_exprAleksey Kladov-1/+1
2020-12-23Update ungrammar for const block patternsLukas Wirth-1/+1
2020-12-16Node-ify lifetimesLukas Wirth-2/+2
2020-10-17Switch from not_bash to xshellAleksey Kladov-1/+1
2020-08-29Replace custom `not_bash::fs2` setup with fs_err crateVeetaha-0/+1
2020-08-24Support extern typesJonas Schievink-1/+1
2020-08-14Document xtask has few deps invariantAleksey Kladov-0/+1
2020-08-01Update grammarAleksey Kladov-1/+1
2020-08-01Better JSON serialization in metricsAleksey Kladov-0/+1
2020-07-29Switch to ungrammar from ast_srcAleksey Kladov-4/+5
The primary advantage of ungrammar is that it (eventually) allows one to describe concrete syntax tree structure -- with alternatives and specific sequence of tokens & nodes. That should be re-usable for: * generate `make` calls * Rust reference * Hypothetical parser's evented API We loose doc comments for the time being unfortunately. I don't think we should add support for doc comments to ungrammar -- they'll make grammar file hard to read. We might supply docs as out-of band info, or maybe just via a reference, but we'll think about that once things are no longer in flux
2020-07-14Add a license field to all the cratesYuki Okushi-0/+1
2020-07-07Gzip artifactsVeetaha-0/+1
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com> Override miniz_oxide to build it with optimizations Building this crate with optimizations decreases the gzipping part of `cargo xtask dist` from `30-40s` down to `3s`, the overhead for `rustc` to apply optimizations is miserable on this background
2020-02-18Update versionsKirill Bulatov-4/+4
2020-01-03Switch ast declaration from ron to a macroAleksey Kladov-2/+0
2019-11-20Cleanup importsAleksey Kladov-0/+3
2019-11-14Revert #2230Aleksey Kladov-1/+0
Looks like autocfg tries to do slightly more than we need (see #2231), so let's stick with minimal home-grown solution.
2019-11-13Use anyhow::Result in xtask, add contextsPascal Hertleif-0/+1
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 :)
2019-11-13Use autocfg to determine rust versionkjeremy-0/+1
2019-10-23xtask: don't depend on itertoolsAleksey Kladov-1/+0
xtask should be fast to compiler, as it's a gateway to rust-analyzer
2019-10-17WIP: move to xtasksAleksey Kladov-0/+15