aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* Revive cache cleaningAleksey Kladov2020-08-181-2/+3
| | | | | | | 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.
* Add self-analysis-stats to metricsAleksey Kladov2020-07-241-2/+6
|
* Add metricsAleksey Kladov2020-07-241-0/+2
|
* MinorAleksey Kladov2020-07-241-3/+4
|
* Remove support for jemallocAleksey Kladov2020-07-221-10/+2
| | | | | We only used it for measuring memory usage, but now we can use glibc's allocator for that just fine
* Add opt-in mimalloc featureIvan Kozik2020-07-141-3/+12
|
* .Aleksey Kladov2020-07-071-1/+6
|
* RefactorAleksey Kladov2020-06-081-2/+2
|
* Move to a dedicated fileAleksey Kladov2020-06-081-2/+3
|
* Don't store generated docs in the repoAleksey Kladov2020-06-031-0/+1
|
* Generate features docs from sourceAleksey Kladov2020-05-311-0/+1
|
* Don't strip nightly releasesAleksey Kladov2020-04-081-10/+4
|
* Fix formattingAleksey Kladov2020-03-231-1/+1
|
* Fix releaseAleksey Kladov2020-03-231-4/+10
|
* Simplify extension tag sniffingAleksey Kladov2020-03-191-2/+3
|
* Build server via dist as wellAleksey Kladov2020-03-041-2/+3
|
* cargo xtask distAleksey Kladov2020-03-041-2/+12
| | | | This builds the typescript extension
* Add dry run mode to xtask releaseAleksey Kladov2020-02-141-1/+2
|
* xtask releaseAleksey Kladov2020-02-101-1/+5
|
* :arrow_up: pico-argsAleksey Kladov2020-01-081-2/+2
|
* Share cache cleaning logic between OSesAleksey Kladov2020-01-071-1/+5
|
* Refactor xtasksAleksey Kladov2020-01-071-211/+72
|
* SimplifyAleksey Kladov2020-01-071-32/+4
| | | | help for internal tools does not worth the duplication
* Notify that latest version of VS Code is requiredbold2019-12-241-1/+1
|
* :arrow_up: RustAleksey Kladov2019-12-191-1/+1
|
* Switch back to npm installAleksey Kladov2019-12-021-1/+2
| | | | Locks like it honors package.lock nowdays
* Remove npm.cmdAleksey Kladov2019-11-201-3/+3
| | | | I *think* this is more correct
* Cleanup importsAleksey Kladov2019-11-201-4/+3
|
* Don't create a separate bin for format hookAleksey Kladov2019-11-181-3/+8
|
* Revert #2230Aleksey Kladov2019-11-141-11/+25
| | | | | 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-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 :)
* Allow usage of CARGO_TARGET_DIR env varPascal Hertleif2019-11-131-1/+2
|
* Use autocfg to determine rust versionkjeremy2019-11-131-25/+10
|
* Minor cleanupAleksey Kladov2019-11-131-1/+1
|
* Add '--scripts-prepend-node-pat' to npm run packagemkucijan2019-11-111-1/+1
|
* Fix typo in xtask/src/main.rs.krk2019-10-301-1/+1
|
* Merge #2132bors[bot]2019-10-301-0/+1
|\ | | | | | | | | | | | | | | 2132: echo cargo version during install r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * echo cargo version during installAleksey Kladov2019-10-301-0/+1
| |
* | Some clippy fixeskjeremy2019-10-301-1/+1
|/
* Merge #2074bors[bot]2019-10-261-2/+9
|\ | | | | | | | | | | | | | | 2074: document tasks module r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * document tasks moduleAleksey Kladov2019-10-261-2/+9
| |
* | warn if npm is not foundAleksey Kladov2019-10-261-0/+11
|/
* auto-generate assists docs and testsAleksey Kladov2019-10-251-0/+1
|
* xtask: fold gen-tests and gen-ast into codegenAleksey Kladov2019-10-231-8/+2
|
* xtask: move codegen to a moduleAleksey Kladov2019-10-231-5/+5
|
* try to warn about old rustAleksey Kladov2019-10-211-2/+40
|
* WIP: move to xtasksAleksey Kladov2019-10-171-0/+218