Dmitry
e18748ed15
Merge remote-tracking branch 'rust-analyzer/master'
2020-08-18 19:37:22 +07:00
Aleksey Kladov
6cff076513
Revive cache cleaning
...
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.
2020-08-18 11:07:21 +02:00
Dmitry
1a43a0f63e
Added competition for unstable features
...
Added xtask for download unstable book from rust repository and codegene for it. Also small changes from lint
2020-08-09 20:33:47 +07:00
Aleksey Kladov
101cdc57c2
Add self-analysis-stats to metrics
2020-07-25 00:16:21 +02:00
Aleksey Kladov
de714640bd
Add metrics
2020-07-24 20:05:16 +02:00
Aleksey Kladov
93dfa39766
Minor
2020-07-24 16:11:24 +02:00
Aleksey Kladov
deed44a472
Remove support for jemalloc
...
We only used it for measuring memory usage, but now we can use glibc's
allocator for that just fine
2020-07-22 13:40:45 +02:00
Ivan Kozik
6710856c10
Add opt-in mimalloc feature
2020-07-14 20:57:51 +00:00
Aleksey Kladov
faa65d7856
.
2020-07-07 18:12:22 +02:00
Aleksey Kladov
cbc5eb8738
Refactor
2020-06-08 14:05:14 +02:00
Aleksey Kladov
97ea2dfc4b
Move to a dedicated file
2020-06-08 13:58:54 +02:00
Aleksey Kladov
5315934d88
Don't store generated docs in the repo
2020-06-03 18:26:50 +02:00
Aleksey Kladov
c8f27a4a88
Generate features docs from source
2020-05-31 01:54:54 +02:00
Aleksey Kladov
ffb7ea678b
Don't strip nightly releases
2020-04-08 11:47:40 +02:00
Aleksey Kladov
b605271d7f
Fix formatting
2020-03-23 15:20:49 +01:00
Aleksey Kladov
59f6bf87d6
Fix release
2020-03-23 14:33:44 +01:00
Aleksey Kladov
3d1cb5e20f
Simplify extension tag sniffing
2020-03-19 09:37:03 +01:00
Aleksey Kladov
694ca4e185
Build server via dist as well
2020-03-04 18:56:20 +01:00
Aleksey Kladov
fd586e58d9
cargo xtask dist
...
This builds the typescript extension
2020-03-04 18:18:20 +01:00
Aleksey Kladov
9fc2748d47
Add dry run mode to xtask release
2020-02-14 18:42:48 +01:00
Aleksey Kladov
57147d7471
xtask release
2020-02-10 15:34:04 +01:00
Aleksey Kladov
ceb8f74901
⬆️ pico-args
2020-01-08 11:27:31 +01:00
Aleksey Kladov
6a7db8c701
Share cache cleaning logic between OSes
2020-01-07 16:45:57 +01:00
Aleksey Kladov
91f9bc2b86
Refactor xtasks
2020-01-07 14:42:56 +01:00
Aleksey Kladov
b02576d562
Simplify
...
help for internal tools does not worth the duplication
2020-01-07 14:11:18 +01:00
bold
2a09752137
Notify that latest version of VS Code is required
2019-12-24 20:04:42 +08:00
Aleksey Kladov
c7291386d3
⬆️ Rust
2019-12-19 18:27:44 +01:00
Aleksey Kladov
1836671d53
Switch back to npm install
...
Locks like it honors package.lock nowdays
2019-12-02 15:17:55 +01:00
Aleksey Kladov
ad2b6cad48
Remove npm.cmd
...
I *think* this is more correct
2019-11-20 23:27:03 +03:00
Aleksey Kladov
7020167aa2
Cleanup imports
2019-11-20 09:47:14 +03:00
Aleksey Kladov
76da22e66a
Don't create a separate bin for format hook
2019-11-18 15:27:04 +03:00
Aleksey Kladov
c65f42325f
Revert #2230
...
Looks like autocfg tries to do slightly more than we need (see #2231 ),
so let's stick with minimal home-grown solution.
2019-11-14 11:12:52 +03:00
Pascal Hertleif
5075c77957
Use anyhow::Result in xtask, add contexts
...
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-13 20:51:57 +01:00
Pascal Hertleif
5e3c1c2b5f
Allow usage of CARGO_TARGET_DIR env var
2019-11-13 20:44:39 +01:00
kjeremy
06754b78ac
Use autocfg to determine rust version
2019-11-13 11:19:07 -05:00
Aleksey Kladov
018255efe3
Minor cleanup
2019-11-13 10:32:53 +03:00
mkucijan
d67157c0f1
Add '--scripts-prepend-node-pat' to npm run package
2019-11-11 20:51:07 +01:00
krk
462c1b49c6
Fix typo in xtask/src/main.rs.
2019-10-30 21:17:27 +01:00
bors[bot]
ce3173469c
Merge #2132
...
2132: echo cargo version during install r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-30 17:52:02 +00:00
Aleksey Kladov
e529c8e3e2
echo cargo version during install
2019-10-30 20:49:04 +03:00
kjeremy
b441b4e8ef
Some clippy fixes
2019-10-30 13:36:37 -04:00
bors[bot]
fa4ccc5fef
Merge #2074
...
2074: document tasks module r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-10-26 14:25:35 +00:00
Aleksey Kladov
e3a253d80f
document tasks module
2019-10-26 17:20:44 +03:00
Aleksey Kladov
8e8b6e7f62
warn if npm is not found
2019-10-26 17:12:56 +03:00
Aleksey Kladov
0dd35ff2b2
auto-generate assists docs and tests
2019-10-25 14:47:48 +03:00
Aleksey Kladov
a669049ef3
xtask: fold gen-tests and gen-ast into codegen
2019-10-23 18:57:18 +03:00
Aleksey Kladov
b5f13d8d51
xtask: move codegen to a module
2019-10-23 18:57:18 +03:00
Aleksey Kladov
4aa7873588
try to warn about old rust
2019-10-21 13:40:40 +03:00
Aleksey Kladov
7b15c4f7ae
WIP: move to xtasks
2019-10-17 22:54:38 +03:00