aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use cli parser with auto-generated helpAleksey Kladov2021-03-011-6/+2
|
* Simplify xtaskAleksey Kladov2021-03-011-5/+5
| | | | lib/bin/test separation isn't really needed.
* add completions for clippy lint in attributesBenjamin Coenen2020-10-201-3/+3
| | | | Signed-off-by: Benjamin Coenen <[email protected]>
* Create xtask module to generate diagnostics docsIgor Aleksanov2020-10-191-0/+3
|
* Switch from not_bash to xshellAleksey Kladov2020-10-171-11/+8
|
* Improve compile time a tiny bitAleksey Kladov2020-10-161-2/+2
|
* Cleanup feature generationAleksey Kladov2020-08-181-20/+20
|
* Merge remote-tracking branch 'rust-analyzer/master'Dmitry2020-08-181-1/+17
|\
| * Mention that generated .adocs are generaterdAleksey Kladov2020-08-171-1/+17
| |
* | synchronizing changesDmitry2020-08-141-4/+4
| |
* | Merge remote-tracking branch 'origin/master'Dmitry2020-08-141-5/+5
|\|
| * Rename ra_assists -> assistsAleksey Kladov2020-08-131-2/+2
| |
| * Rename ra_syntax -> syntaxAleksey Kladov2020-08-121-4/+4
| |
| * Rename ra_parser -> parserAleksey Kladov2020-08-121-2/+2
| |
* | refactor requirements put forward mkladovDmitry2020-08-141-0/+1
| |
* | Revert "replase sparse-checkout by github api"Dmitry2020-08-141-4/+2
| | | | | | | | This reverts commit 034db28c542c04b22147da6722328bc74ff99386.
* | replase sparse-checkout by github apiDmitry2020-08-141-2/+4
| |
* | apply formatDmitry2020-08-091-1/+1
| |
* | Added competition for unstable featuresDmitry2020-08-091-0/+8
|/ | | Added xtask for download unstable book from rust repository and codegene for it. Also small changes from lint
* Don't store generated docs in the repoAleksey Kladov2020-06-031-2/+4
|
* Link to the specific source lineAleksey Kladov2020-05-311-15/+24
|
* Move assists documentation into the manualAleksey Kladov2020-05-311-3/+30
|
* SimplifyAleksey Kladov2020-05-311-1/+1
|
* Generate features docs from sourceAleksey Kladov2020-05-311-2/+3
|
* GeneralizeAleksey Kladov2020-05-301-2/+18
|
* RegenerateAleksey Kladov2020-05-061-1/+1
|
* Refucktor codegenveetaha2020-04-181-6/+6
|
* Start ast/generated/tokensAleksey Kladov2020-04-091-0/+1
|
* Prepare for spliting generated into tokens and nodesAleksey Kladov2020-04-091-1/+1
|
* Reduce visibilityAleksey Kladov2020-04-091-2/+2
|
* Name assist handlersAleksey Kladov2020-02-071-1/+1
|
* Use correct rustfmt for codegenAleksey Kladov2020-01-101-22/+2
| | | | closes #1569
* Switch ast declaration from ron to a macroAleksey Kladov2020-01-031-1/+0
|
* Use anyhow::Result in xtask, add contextsPascal Hertleif2019-11-131-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 :)
* Ignore line-endings when checking generated files for freshnessAleksey Kladov2019-11-061-2/+6
| | | | closes #2184
* generate more assists docsAleksey Kladov2019-10-251-0/+13
|
* auto-generate assists docs and testsAleksey Kladov2019-10-251-4/+32
|
* refactor comment extraction from tasksAleksey Kladov2019-10-241-1/+24
|
* xtask: move codegen to a moduleAleksey Kladov2019-10-231-0/+46