Commit Graph

106 Commits

Author SHA1 Message Date
jr
9c6a53053b
Update Readme.md
Use "rustfmt --print-config default rustfmt.toml" instead of "rustfmt --dump-default-config rustfmt.toml" to create default config
2018-07-22 13:00:33 +02:00
Nick Cameron
9038da6df0
Merge pull request #2790 from DevOrc/master
add emit flag documentation
2018-07-17 11:21:00 +12:00
Nick Cameron
667ad76bca Add a link to ag_dubs' CI blog post to the README 2018-07-12 22:28:55 +12:00
DevOrc
e133fc5106 add emit flag documentation 2018-06-19 14:36:10 -04:00
David Alber
390ae7940a Use nightly Rust in Travis CI config snippet
The current stable rustfmt (rustfmt 0.4.1-stable) does not contain
the `--check` flag, which is used in the Travis config snippet.
Once a new stable version is released, the snippet can be switched
back to stable Rust.
2018-05-18 21:18:49 -07:00
Pierre-Etienne Bougue
87c56544e2 Remove "write-mode" from doc
"write-mode" param is now deleted
and mentioning it in doc was misleading
2018-05-18 16:40:58 +02:00
Nick Cameron
223fdfa086 Fix example travis config
Closes #2688
2018-05-18 15:43:20 +12:00
Nick Cameron
de950c2973 Skip on rustfmt::skip as well as rustfmt_skip 2018-05-14 16:13:21 +12:00
Nick Cameron
5d9f5aa05a Replace --write-mode with --emit
cc #1976
2018-05-13 14:13:24 +12:00
Loïc Damien
c2ebb06a85
Update README.md to reflect change in #2539 2018-05-06 18:51:26 +02:00
David Barsky
f9532ba8d7 Implemented rough draft of check write mode. (#2539)
* Add rough draft of `check` mode. Not unit tested.

* Added assert-cli; simple test case for `--write-mode=check`

* Lightly documented `check` WriteMode

* wrote clearer phrasing for config::options::WriteMode::Check

* Implemented default for WriteMode where default is Overwrite

* Simplified exit code handling

* updated README.md as per @nrc' comment

* collapsed exit-code handling

* Removed write_mode from Summary, introduced partial option parsing earlier

* Handle write-mode parsing in a slightly better way.
2018-04-20 11:14:11 +12:00
Dale Wijnand
8331197b7b
specify nightly required to install from source
when using stable cargo install fails due to #![feature] usage:

    error[E0554]: #![feature] may not be used on the stable release channel
      --> /Users/dnw/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-serialize-67.0.0/lib.rs:24:1
       |
    24 | #![feature(rustc_private, box_syntax)]
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    error[E0554]: #![feature] may not be used on the stable release channel
      --> /Users/dnw/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-serialize-67.0.0/lib.rs:25:1
       |
    25 | #![feature(core_intrinsics)]
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    error[E0554]: #![feature] may not be used on the stable release channel
      --> /Users/dnw/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-serialize-67.0.0/lib.rs:26:1
       |
    26 | #![feature(i128_type)]
       | ^^^^^^^^^^^^^^^^^^^^^^
    
    error[E0554]: #![feature] may not be used on the stable release channel
      --> /Users/dnw/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-ap-serialize-67.0.0/lib.rs:27:1
       |
    27 | #![feature(specialization)]
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    error: aborting due to 4 previous errors
    
    error: Could not compile `rustc-ap-serialize`.
    warning: build failed, waiting for other jobs to finish...
    error: failed to compile `rustfmt-nightly v0.4.1 (file:///d/rustfmt)`, intermediate artifacts can be found at `/d/rustfmt/target`
2018-04-09 22:54:17 +01:00
Russell Cohen
2e7d1a1184 Include instructions to install on nightly (#2590) 2018-04-03 11:10:50 +09:00
Nick Cameron
c829875960 List limitations in the README
Closes #2109
2018-03-09 11:16:21 +13:00
Nick Cameron
2a5b25e5db
Merge pull request #2499 from davidalber/add-rust-code-of-conduct
Adding the Rust Code of Conduct
2018-03-03 11:37:56 +13:00
David Alber
87d3b3c25a Adding links to the Code of Conduct 2018-03-01 21:58:07 -08:00
Nick Cameron
ab7b4a8bf5 Revert "Remove rustfmt and cargo-fmt"
This reverts commit 9d2229f2fd.

And `cargo updates`
2018-03-02 14:12:33 +13:00
Nick Cameron
9d2229f2fd Remove rustfmt and cargo-fmt
Moved them to the rustfmt-bin repo
2018-02-26 16:53:31 +13:00
Aleksey Kladov
bcd6765285 Simplify CI exaple in the readme
rustfmt-preview is now in stable
2018-02-17 10:47:54 +03:00
Jonathan Morley
017fdc56f1
Rust 1.24 released, rustfmt now works on stable 2018-02-15 14:35:45 -05:00
David Alber
e2088b0e0e Adding badge and explanation for Travis CI example status 2018-02-14 08:51:51 -08:00
Seiichi Uchida
0910883cf2 Update a minimal travis example 2018-02-04 11:27:31 +09:00
Steve Klabnik
9bf8f7986d
Fix installation instructions to use rustup 2018-01-05 09:34:45 -05:00
David Alber
bdda477956 Aligning text with its bullet 2017-12-31 18:41:46 -08:00
hcpl
202f23ce02 Fix version replacement notes for CI in README.md 2017-12-27 19:41:42 +02:00
Christopher Durham
54faea0797 Mention un/stable configuration in README 2017-12-16 21:03:51 -05:00
Nick Cameron
7a4daf0d41
Fix CI instructions in README.md
Closes #2285
2017-12-15 23:59:06 +13:00
Nick Cameron
643ef24b46 Remove some out of date text from README.md 2017-11-22 07:25:36 +13:00
Seiichi Uchida
1a69aebe6c
Update README.md 2017-11-15 15:19:32 +09:00
Martin Lindhe
f930a16b8d fix some typos 2017-11-01 07:33:55 +01:00
Nick Cameron
34cb29a26d Merge pull request #2060 from tamird/doc-dump-default-config
Document `--dump-default-config` in README.md
2017-10-16 22:29:30 +07:00
Saulo Silva
50a138a5ab
Document --dump-default-config in README.md
Fixes #317.
2017-10-14 07:51:57 -04:00
Benjamin Gill
ee33cdf120 Add crates.io version shield 2017-10-13 11:46:00 +01:00
Markus Westerlind
0c44732136 Explain how to solve missing dll's on Windows
cc #1736
2017-08-12 09:38:12 +02:00
Nick Cameron
6984c05e69 Change the writemode to overwrite 2017-07-21 11:22:51 +12:00
Nick Cameron
ef6383011f Add tip about LD_LIBRARY_PATH to README
closes #1707
2017-07-14 09:02:40 +12:00
Seiichi Uchida
8b681e06fd Update README.md: add 'rustup update' 2017-07-10 13:46:36 +09:00
Andy Russell
75ec25a2ca remove link to old style guidelines
Fixes #1564.
2017-06-21 13:45:24 -04:00
Nick Cameron
562d218ce9 Update README for running the nightly version 2017-06-16 12:00:43 +12:00
Nick Cameron
bd1eff55bb Merge pull request #1615 from Mitranim/patch-1
suggested a better Sublime Text plugin
2017-06-15 17:02:36 +12:00
Nick Cameron
5f1bab26c4 Move to Libsyntax 2017-06-14 14:01:56 +12:00
Nick Cameron
bb215e2b89 Correct README.md 2017-06-13 14:51:54 +12:00
Nick Cameron
32e882789b Change defaults to RFC style 2017-06-13 14:37:04 +12:00
Nelo Mitranim
ae256504a8 suggested a better Sublime Text plugin
RustFmt is much faster than BeautifyRust and preserves scroll position
2017-06-01 00:39:12 +03:00
Nick Cameron
bf9b3fa1d7 Add note about libsyntax branch to README 2017-05-17 19:07:25 +12:00
azyobuzin
39bdd3d24f Add a link of rls_vscode 2017-05-12 20:06:28 +09:00
azyobuzin
40651a4054 Change the link of Visual Studio Code extension
RustyCode is no longer maintained.
2017-05-11 18:55:05 +09:00
Vincent Esche
c994d4e9d7 Add visual configurations guide. 2017-05-01 23:55:18 +02:00
David Ross
a0560e3496 Update travis section of README
This fixes the example travis config to not ignore install errors for rustfmt, while still not trying to overwrite a previous install.

In addition, this rewrites the script: section to include multiple commands in a way that travis can more accurately indicate which failed and which succeeded.
2017-02-26 11:34:32 -08:00
Antoine Gersant
2f6c93b4f7 Fixed broken link to style guidelines (#1245) 2016-12-21 19:32:04 +13:00