aboutsummaryrefslogtreecommitdiff
path: root/xtask
Commit message (Collapse)AuthorAgeFilesLines
...
* :arrow_up: pico-argsAleksey Kladov2020-01-081-2/+2
|
* Merge #2758bors[bot]2020-01-071-1/+1
|\ | | | | | | | | | | | | | | | | 2758: Add "code-oss" Visual Studio Code binary name r=matklad a=leo-lb When Visual Studio Code is manually compiled from the upstream source tree the binary is named "code-oss". Co-authored-by: leo-lb <[email protected]>
| * Add "code-oss" Visual Studio Code binary nameleo-lb2020-01-071-1/+1
| | | | | | | | When Visual Studio Code is manually compiled from the upstream source tree the binary is named "code-oss".
* | Share cache cleaning logic between OSesAleksey Kladov2020-01-072-2/+44
|/
* CleanupAleksey Kladov2020-01-073-7/+7
|
* Move cmd to a separate dirAleksey Kladov2020-01-072-53/+58
|
* Refactor xtasksAleksey Kladov2020-01-075-281/+290
|
* SimplifyAleksey Kladov2020-01-072-45/+4
| | | | help for internal tools does not worth the duplication
* Improve const generics parsingMichael Chesser2020-01-061-0/+3
| | | | | - Handle const generics type args - Fix issue with const generic as first parameter in trait impl
* Switch ast declaration from ron to a macroAleksey Kladov2020-01-035-139/+717
|
* kill unused fileAleksey Kladov2020-01-021-0/+0
|
* Check for `todo!` macros in no_todoFlorian Diebold2019-12-261-1/+1
|
* Notify that latest version of VS Code is requiredbold2019-12-241-1/+1
|
* :arrow_up: RustAleksey Kladov2019-12-191-1/+1
|
* Make reformat hook actually reformat filesAleksey Kladov2019-12-181-0/+1
|
* Use rustup toolchain instead of rustup installEdwin Cheng2019-12-081-2/+2
|
* Switch back to npm installAleksey Kladov2019-12-021-1/+2
| | | | Locks like it honors package.lock nowdays
* rename ra_ide_api -> ra_ideAleksey Kladov2019-11-271-1/+1
|
* Move TyAleksey Kladov2019-11-271-0/+1
|
* hir_def is fully doc'ed!Aleksey Kladov2019-11-241-1/+0
|
* Remove npm.cmdAleksey Kladov2019-11-201-3/+3
| | | | I *think* this is more correct
* Cleanup importsAleksey Kladov2019-11-202-4/+6
|
* Don't create a separate bin for format hookAleksey Kladov2019-11-184-47/+35
|
* Revert #2230Aleksey Kladov2019-11-142-12/+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-136-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-132-25/+11
|
* Minor cleanupAleksey Kladov2019-11-131-1/+1
|
* Disallow regressing crate docsAleksey Kladov2019-11-121-6/+43
|
* Add '--scripts-prepend-node-pat' to npm run packagemkucijan2019-11-111-1/+1
|
* Ignore line-endings when checking generated files for freshnessAleksey Kladov2019-11-061-2/+6
| | | | closes #2184
* Add small module-level docsAleksey Kladov2019-11-031-6/+9
|
* Use run-time project path in xtaskLaurențiu Nicola2019-11-011-1/+8
|
* 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-304-8/+6
|/
* use unicode bar for drawing the cursorAleksey Kladov2019-10-261-2/+6
|
* check style for assist docsAleksey Kladov2019-10-261-0/+6
|
* Merge #2075bors[bot]2019-10-261-1/+1
|\ | | | | | | | | | | | | | | 2075: document a couple of assists r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * add blank lines for readabilityAleksey Kladov2019-10-261-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
| |
* | Merge #2073bors[bot]2019-10-261-0/+11
|\ \ | |/ |/| | | | | | | | | | | 2073: warn if npm is not found r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * warn if npm is not foundAleksey Kladov2019-10-261-0/+11
| |
* | generate more assists docsAleksey Kladov2019-10-252-3/+20
|/
* auto-generate assists docs and testsAleksey Kladov2019-10-256-27/+169
|
* refactor comment extraction from tasksAleksey Kladov2019-10-242-39/+44
|
* simplifyAleksey Kladov2019-10-241-14/+13
|
* xtask: don't depend on itertoolsAleksey Kladov2019-10-232-18/+22
| | | | xtask should be fast to compiler, as it's a gateway to rust-analyzer