mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-30 12:07:46 +00:00
feat: release 0.6.0
This commit is contained in:
parent
8c5924d0bd
commit
8b5d2f9e50
11 changed files with 25 additions and 22 deletions
|
@ -17,6 +17,8 @@ Types of changes
|
|||
- Security in case of vulnerabilities.
|
||||
-->
|
||||
|
||||
## [0.6.0] - 2022-02-25
|
||||
|
||||
### Added
|
||||
|
||||
- A `--check` flag, which makes Alejandra emit an exit code of 2
|
||||
|
@ -269,7 +271,8 @@ Types of changes
|
|||
|
||||
---
|
||||
|
||||
[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.5.0...HEAD
|
||||
[unreleased]: https://github.com/kamadorueda/alejandra/compare/0.6.0...HEAD
|
||||
[0.6.0]: https://github.com/kamadorueda/alejandra/compare/0.5.0...0.6.0
|
||||
[0.5.0]: https://github.com/kamadorueda/alejandra/compare/0.4.0...0.5.0
|
||||
[0.4.0]: https://github.com/kamadorueda/alejandra/compare/0.3.1...0.4.0
|
||||
[0.3.1]: https://github.com/kamadorueda/alejandra/compare/0.3.0...0.3.1
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -4,7 +4,7 @@ version = 3
|
|||
|
||||
[[package]]
|
||||
name = "alejandra_cli"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
dependencies = [
|
||||
"alejandra_engine",
|
||||
"atty",
|
||||
|
@ -18,7 +18,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "alejandra_engine"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
dependencies = [
|
||||
"rnix",
|
||||
"rowan",
|
||||
|
|
20
README.md
20
README.md
|
@ -109,11 +109,11 @@ You can download a binary for your platform,
|
|||
make it executable (`$ chmod +x`)
|
||||
and have fun!
|
||||
|
||||
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-aarch64-unknown-linux-musl)
|
||||
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-armv6l-unknown-linux-musleabihf)
|
||||
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-armv7l-unknown-linux-musleabihf)
|
||||
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-i686-unknown-linux-musl)
|
||||
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.5.0/alejandra-x86_64-unknown-linux-musl)
|
||||
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-aarch64-unknown-linux-musl)
|
||||
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-armv6l-unknown-linux-musleabihf)
|
||||
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-armv7l-unknown-linux-musleabihf)
|
||||
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-i686-unknown-linux-musl)
|
||||
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.6.0/alejandra-x86_64-unknown-linux-musl)
|
||||
|
||||
Alternatively there is an automated method for some platforms.
|
||||
It needs:
|
||||
|
@ -144,7 +144,7 @@ $ /path/to/alejandra --help
|
|||
- Nix with [Flakes](https://nixos.wiki/wiki/Flakes):
|
||||
|
||||
```bash
|
||||
$ nix profile install github:kamadorueda/alejandra/0.5.0
|
||||
$ nix profile install github:kamadorueda/alejandra/0.6.0
|
||||
```
|
||||
|
||||
- Nix stable:
|
||||
|
@ -152,10 +152,10 @@ $ /path/to/alejandra --help
|
|||
Pick one depending on your platform:
|
||||
|
||||
```bash
|
||||
$ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.5.0
|
||||
$ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.5.0
|
||||
$ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.5.0
|
||||
$ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.5.0
|
||||
$ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.6.0
|
||||
$ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.6.0
|
||||
$ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/0.6.0
|
||||
$ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/0.6.0
|
||||
```
|
||||
|
||||
Then run Alejandra with:
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
outputs = inputs: let
|
||||
commit = inputs.self.shortRev or "dirty";
|
||||
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
|
||||
version = "0.5.0+${builtins.substring 0 8 date}.${commit}";
|
||||
version = "0.6.0+${builtins.substring 0 8 date}.${commit}";
|
||||
|
||||
nixpkgsForHost = host:
|
||||
import inputs.nixpkgs {
|
||||
|
|
4
front/Cargo.lock
generated
4
front/Cargo.lock
generated
|
@ -4,7 +4,7 @@ version = 3
|
|||
|
||||
[[package]]
|
||||
name = "alejandra_engine"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
dependencies = [
|
||||
"rnix",
|
||||
"rowan",
|
||||
|
@ -12,7 +12,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "alejandra_front"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
dependencies = [
|
||||
"alejandra_engine",
|
||||
"console_error_panic_hook",
|
||||
|
|
|
@ -13,7 +13,7 @@ description = "The Uncompromising Nix Code Formatter"
|
|||
edition = "2021"
|
||||
name = "alejandra_front"
|
||||
repository = "https://github.com/kamadorueda/alejandra"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
releases=https://github.com/kamadorueda/alejandra/releases/download/
|
||||
target=alejandra-aarch64-unknown-linux-musl
|
||||
version=0.5.0
|
||||
version=0.6.0
|
||||
|
||||
curl -o alejandra -L "${releases}/${version}/${target}"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
releases=https://github.com/kamadorueda/alejandra/releases/download/
|
||||
target=alejandra-x86_64-unknown-linux-musl
|
||||
version=0.5.0
|
||||
version=0.6.0
|
||||
|
||||
curl -o alejandra -L "${releases}/${version}/${target}"
|
||||
|
||||
|
|
|
@ -18,4 +18,4 @@ description = "The Uncompromising Nix Code Formatter"
|
|||
edition = "2021"
|
||||
name = "alejandra_cli"
|
||||
repository = "https://github.com/kamadorueda/alejandra"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
|
|
|
@ -8,4 +8,4 @@ description = "The Uncompromising Nix Code Formatter"
|
|||
edition = "2021"
|
||||
name = "alejandra_engine"
|
||||
repository = "https://github.com/kamadorueda/alejandra"
|
||||
version = "0.5.0"
|
||||
version = "0.6.0"
|
||||
|
|
|
@ -1 +1 @@
|
|||
pub const VERSION: &str = "0.5.0";
|
||||
pub const VERSION: &str = "0.6.0";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue