mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 04:27:45 +00:00
feat: release 2.0.0
This commit is contained in:
parent
824261886f
commit
25cbef035e
12 changed files with 25 additions and 22 deletions
|
@ -20,7 +20,7 @@ echo INFO: building Alejandra
|
||||||
nix-build \
|
nix-build \
|
||||||
--attr ${system} \
|
--attr ${system} \
|
||||||
--out-link result-alejandra \
|
--out-link result-alejandra \
|
||||||
https://github.com/kamadorueda/alejandra/tarball/1.5.0
|
https://github.com/kamadorueda/alejandra/tarball/2.0.0
|
||||||
|
|
||||||
echo INFO: running Alejandra:
|
echo INFO: running Alejandra:
|
||||||
result-alejandra/bin/alejandra -- -q "${@}"
|
result-alejandra/bin/alejandra -- -q "${@}"
|
||||||
|
|
|
@ -17,6 +17,8 @@ Types of changes
|
||||||
- Security in case of vulnerabilities.
|
- Security in case of vulnerabilities.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
## [2.0.0] - 2022-07-13
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- A [Style Guide](./STYLE.md),
|
- A [Style Guide](./STYLE.md),
|
||||||
|
@ -639,7 +641,8 @@ Types of changes
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
[unreleased]: https://github.com/kamadorueda/alejandra/compare/1.5.0...HEAD
|
[unreleased]: https://github.com/kamadorueda/alejandra/compare/2.0.0...HEAD
|
||||||
|
[2.0.0]: https://github.com/kamadorueda/alejandra/compare/1.5.0...2.0.0
|
||||||
[1.5.0]: https://github.com/kamadorueda/alejandra/compare/1.4.0...1.5.0
|
[1.5.0]: https://github.com/kamadorueda/alejandra/compare/1.4.0...1.5.0
|
||||||
[1.4.0]: https://github.com/kamadorueda/alejandra/compare/1.3.0...1.4.0
|
[1.4.0]: https://github.com/kamadorueda/alejandra/compare/1.3.0...1.4.0
|
||||||
[1.3.0]: https://github.com/kamadorueda/alejandra/compare/1.2.0...1.3.0
|
[1.3.0]: https://github.com/kamadorueda/alejandra/compare/1.2.0...1.3.0
|
||||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -4,7 +4,7 @@ version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "alejandra"
|
name = "alejandra"
|
||||||
version = "1.5.0"
|
version = "2.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"mimalloc",
|
"mimalloc",
|
||||||
"rnix",
|
"rnix",
|
||||||
|
@ -13,7 +13,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "alejandra_cli"
|
name = "alejandra_cli"
|
||||||
version = "1.5.0"
|
version = "2.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"alejandra",
|
"alejandra",
|
||||||
"atty",
|
"atty",
|
||||||
|
|
18
README.md
18
README.md
|
@ -113,11 +113,11 @@ Please visit:
|
||||||
|
|
||||||
You can download a binary for your platform:
|
You can download a binary for your platform:
|
||||||
|
|
||||||
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-aarch64-unknown-linux-musl)
|
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/2.0.0/alejandra-aarch64-unknown-linux-musl)
|
||||||
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-armv6l-unknown-linux-musleabihf)
|
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/2.0.0/alejandra-armv6l-unknown-linux-musleabihf)
|
||||||
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-armv7l-unknown-linux-musleabihf)
|
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/2.0.0/alejandra-armv7l-unknown-linux-musleabihf)
|
||||||
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-i686-unknown-linux-musl)
|
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/2.0.0/alejandra-i686-unknown-linux-musl)
|
||||||
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/1.5.0/alejandra-x86_64-unknown-linux-musl)
|
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/2.0.0/alejandra-x86_64-unknown-linux-musl)
|
||||||
|
|
||||||
Make it executable (`$ chmod +x`)
|
Make it executable (`$ chmod +x`)
|
||||||
and run Alejandra with:
|
and run Alejandra with:
|
||||||
|
@ -141,13 +141,13 @@ Please visit: [search.nixos.org/packages?query=alejandra](https://search.nixos.o
|
||||||
- Nix stable:
|
- Nix stable:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ nix-env -ivf https://github.com/kamadorueda/alejandra/tarball/1.5.0
|
$ nix-env -ivf https://github.com/kamadorueda/alejandra/tarball/2.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
- Nix with [Flakes](https://nixos.wiki/wiki/Flakes):
|
- Nix with [Flakes](https://nixos.wiki/wiki/Flakes):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ nix profile install github:kamadorueda/alejandra/1.5.0
|
$ nix profile install github:kamadorueda/alejandra/2.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
Then run Alejandra with:
|
Then run Alejandra with:
|
||||||
|
@ -164,7 +164,7 @@ $ alejandra --help
|
||||||
let
|
let
|
||||||
alejandra =
|
alejandra =
|
||||||
(import (builtins.fetchTarball {
|
(import (builtins.fetchTarball {
|
||||||
url = "https://github.com/kamadorueda/alejandra/tarball/1.5.0";
|
url = "https://github.com/kamadorueda/alejandra/tarball/2.0.0";
|
||||||
sha256 = "0000000000000000000000000000000000000000000000000000";
|
sha256 = "0000000000000000000000000000000000000000000000000000";
|
||||||
}) {})
|
}) {})
|
||||||
.outPath;
|
.outPath;
|
||||||
|
@ -180,7 +180,7 @@ $ alejandra --help
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
|
|
||||||
alejandra.url = "github:kamadorueda/alejandra/1.5.0";
|
alejandra.url = "github:kamadorueda/alejandra/2.0.0";
|
||||||
alejandra.inputs.nixpkgs.follows = "nixpkgs";
|
alejandra.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
outputs = inputs: let
|
outputs = inputs: let
|
||||||
commit = inputs.self.shortRev or "dirty";
|
commit = inputs.self.shortRev or "dirty";
|
||||||
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
|
date = inputs.self.lastModifiedDate or inputs.self.lastModified or "19700101";
|
||||||
version = "1.5.0+${builtins.substring 0 8 date}.${commit}";
|
version = "2.0.0+${builtins.substring 0 8 date}.${commit}";
|
||||||
|
|
||||||
nixpkgsForHost = host:
|
nixpkgsForHost = host:
|
||||||
import inputs.nixpkgs {
|
import inputs.nixpkgs {
|
||||||
|
|
4
front/Cargo.lock
generated
4
front/Cargo.lock
generated
|
@ -4,7 +4,7 @@ version = 3
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "alejandra"
|
name = "alejandra"
|
||||||
version = "1.5.0"
|
version = "2.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"mimalloc",
|
"mimalloc",
|
||||||
"rnix",
|
"rnix",
|
||||||
|
@ -13,7 +13,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "alejandra_front"
|
name = "alejandra_front"
|
||||||
version = "1.5.0"
|
version = "2.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"alejandra",
|
"alejandra",
|
||||||
"console_error_panic_hook",
|
"console_error_panic_hook",
|
||||||
|
|
|
@ -13,7 +13,7 @@ description = "The Uncompromising Nix Code Formatter"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
name = "alejandra_front"
|
name = "alejandra_front"
|
||||||
repository = "https://github.com/kamadorueda/alejandra"
|
repository = "https://github.com/kamadorueda/alejandra"
|
||||||
version = "1.5.0"
|
version = "2.0.0"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
lto = true
|
lto = true
|
||||||
|
|
|
@ -8,7 +8,7 @@ with contents:
|
||||||
```yaml
|
```yaml
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/kamadorueda/alejandra
|
- repo: https://github.com/kamadorueda/alejandra
|
||||||
rev: 1.5.0
|
rev: 2.0.0
|
||||||
# Choose either the 'alejandra' or 'alejandra-system' hook
|
# Choose either the 'alejandra' or 'alejandra-system' hook
|
||||||
# depending on what pre-requisites you have:
|
# depending on what pre-requisites you have:
|
||||||
hooks:
|
hooks:
|
||||||
|
|
|
@ -65,5 +65,5 @@
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/kamadorueda/alejandra"
|
"url": "https://github.com/kamadorueda/alejandra"
|
||||||
},
|
},
|
||||||
"version": "1.5.0"
|
"version": "2.0.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,4 +33,4 @@ edition = "2021"
|
||||||
license = "Unlicense"
|
license = "Unlicense"
|
||||||
name = "alejandra"
|
name = "alejandra"
|
||||||
repository = "https://github.com/kamadorueda/alejandra"
|
repository = "https://github.com/kamadorueda/alejandra"
|
||||||
version = "1.5.0"
|
version = "2.0.0"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
/// The version of Alejandra.
|
/// The version of Alejandra.
|
||||||
pub const VERSION: &str = "1.5.0";
|
pub const VERSION: &str = "2.0.0";
|
||||||
|
|
|
@ -19,4 +19,4 @@ edition = "2021"
|
||||||
license = "Unlicense"
|
license = "Unlicense"
|
||||||
name = "alejandra_cli"
|
name = "alejandra_cli"
|
||||||
repository = "https://github.com/kamadorueda/alejandra"
|
repository = "https://github.com/kamadorueda/alejandra"
|
||||||
version = "1.5.0"
|
version = "2.0.0"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue