aboutsummaryrefslogtreecommitdiff
path: root/xtask/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* Node-ify lifetimesLukas Wirth2020-12-161-2/+2
|
* Switch from not_bash to xshellAleksey Kladov2020-10-171-1/+1
|
* Replace custom `not_bash::fs2` setup with fs_err crateVeetaha2020-08-291-0/+1
|
* Support extern typesJonas Schievink2020-08-241-1/+1
|
* Document xtask has few deps invariantAleksey Kladov2020-08-141-0/+1
|
* Update grammarAleksey Kladov2020-08-011-1/+1
|
* Better JSON serialization in metricsAleksey Kladov2020-08-011-0/+1
|
* Switch to ungrammar from ast_srcAleksey Kladov2020-07-291-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
* Add a license field to all the cratesYuki Okushi2020-07-141-0/+1
|
* Gzip artifactsVeetaha2020-07-071-0/+1
| | | | | | | | | | Co-authored-by: bjorn3 <[email protected]> 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
* Update versionsKirill Bulatov2020-02-181-4/+4
|
* Switch ast declaration from ron to a macroAleksey Kladov2020-01-031-2/+0
|
* Cleanup importsAleksey Kladov2019-11-201-0/+3
|
* Revert #2230Aleksey Kladov2019-11-141-1/+0
| | | | | Looks like autocfg tries to do slightly more than we need (see #2231), so let's stick with minimal home-grown solution.
* Use anyhow::Result in xtask, add contextsPascal Hertleif2019-11-131-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 :)
* Use autocfg to determine rust versionkjeremy2019-11-131-0/+1
|
* xtask: don't depend on itertoolsAleksey Kladov2019-10-231-1/+0
| | | | xtask should be fast to compiler, as it's a gateway to rust-analyzer
* WIP: move to xtasksAleksey Kladov2019-10-171-0/+15