forked from avh4/elm-format
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request avh4#557 from avh4/release-prep
Prepare 0.8.1
- Loading branch information
Showing
7 changed files
with
48 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
## Autodetecting your Elm version | ||
|
||
Starting in `elm-format` 0.8.1, there is now only one official binary for each platform | ||
(previously there was a seperate binary for Elm 0.18 and Elm 0.19). | ||
`elm-format` now will auto-detect your Elm version using the following rules: | ||
|
||
- if `elm-package.json` exists in the current directory, format in Elm 0.18 mode | ||
- if `elm.json` exists in the current directory, format in Elm 0.19 mode | ||
|
||
If you need to run `elm-format` from a working directory that does not contain such a file | ||
(or if you need to use `elm-format` in Elm 0.17 mode), | ||
use the `--elm-version=...` command line argument to disable the autodetection. | ||
|
||
|
||
## Other changes | ||
|
||
`elm-format` 0.8.1 also contains several bug fixes for `elm-format` 0.8.0. | ||
See the [CHANGELOG](https://github.com/avh4/elm-format/blob/0.8.1/CHANGELOG.md) for details. | ||
|
||
|
||
## Install | ||
|
||
```sh | ||
npm install -g elm-format | ||
``` | ||
|
||
or [download from the release page](https://github.com/avh4/elm-format/releases/tag/0.8.1). | ||
|
||
|
||
## Thanks to ... | ||
|
||
- @andys8 for contributing the lenient import line parser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Name: elm-format | ||
version: 0.8.1-rc2 | ||
version: 0.8.1 | ||
|
||
Synopsis: | ||
A source code formatter for Elm | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters