Commit Graph

357 Commits

Author SHA1 Message Date
bors[bot]
3987049766
Merge #243
243: Small typo in documentation r=zimbatm a=pinage404



Co-authored-by: pinage404 <pinage404@gmail.com>
2023-07-30 16:07:06 +00:00
pinage404
9ac409b609
Small typo in documentation 2023-07-30 14:56:26 +02:00
zimbatm
8ca89b1bb3 cargo update 2023-07-12 11:49:50 +02:00
bors[bot]
069073e79b
Merge #240
240: build(deps): bump cachix/install-nix-action from 21 to 22 r=zimbatm a=dependabot[bot]



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 17:58:38 +00:00
dependabot[bot]
ab38e02c2c
build(deps): bump cachix/install-nix-action from 21 to 22
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 21 to 22.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v21...v22)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 17:57:34 +00:00
dependabot[bot]
8e52869b0e
build(deps): bump cachix/install-nix-action from 20 to 21 (#238)
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 20 to 21.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v20...v21)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-31 10:22:40 +02:00
zimbatm
459e6af4cd docs: better formatter-spec structure
Since it's a spec, list all of the rules and use MUST / SHOULD similar
to IETF RFCs.
2023-05-30 15:59:49 +02:00
bors[bot]
f70fa3f7da
Merge #233
233: docs: add reference to null-ls r=zimbatm a=zimbatm



Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-04-25 20:48:18 +00:00
bors[bot]
303af5cc7a
Merge #234
234: fix all clippy warnings r=zimbatm a=zimbatm



Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-04-25 20:39:04 +00:00
zimbatm
45cd7a8bc4
fix all clippy warnings 2023-04-25 22:10:39 +02:00
zimbatm
ef6f448d14
docs: add reference to null-ls 2023-04-25 21:57:21 +02:00
bors[bot]
a2dcb65919
Merge #228
228: flake: expose the list of supported systems r=zimbatm a=zimbatm



Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-04-09 10:26:30 +00:00
zimbatm
2b88168c0a
flake: expose the list of supported systems
This is a new convention that lets consumers of the flake control what
systems this flake will be built with.

As a consumer you can pass your own list of systems, by overriding the
inputs. Eg:

```
inputs.systems.url = "path:./flake.systems.nix";
inputs.systems.flake = false;
inputs.treefmt.url = "github:numtide/treefmt";
inputs.treefmt.inputs.follows.systems = "systems";
```

Invented with the help of bb010g in https://github.com/numtide/flake-utils/pull/84

See <https://github.com/nix-systems/nix-systems>
2023-04-09 12:09:16 +02:00
bors[bot]
64667985a6
Merge #231
231: Don't ignore --config-file when using --stdin r=zimbatm a=lbodor



Co-authored-by: lbodor <lazar.bodor@ga.gov.au>
2023-04-09 10:08:35 +00:00
lbodor
95101b595d Remove clone() 2023-04-09 19:56:21 +10:00
lbodor
87edb9d2dc Don't ignore --config-file when using --stdin 2023-04-09 18:28:26 +10:00
bors[bot]
d87045a6f3
Merge #229
229: Fixing supported formatters link r=zimbatm a=glenn-m



Co-authored-by: Glenn McDonald <2371316+glenn-m@users.noreply.github.com>
2023-04-08 20:38:44 +00:00
Glenn McDonald
c0db9816a9
Fixing supported formatters link 2023-04-08 16:29:33 -04:00
zimbatm
f3e665c3bb
restore the LICENSE file
was removed in c2762ce440 by mistake
2023-04-01 17:17:59 +02:00
zimbatm
cb400b2bcd
remove docs/serve.sh
Use `mkdocs serve` instead
2023-04-01 16:55:14 +02:00
bors[bot]
e7345cbeac
Merge #227
227: docs: use mkdocs-numtide r=zimbatm a=zimbatm



Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-04-01 14:30:21 +00:00
zimbatm
787ea9dad7
docs: use mkdocs-numtide
Move the theme and base config to another repo so it can be shared
between projects.
2023-04-01 16:22:28 +02:00
zimbatm
c2762ce440
docs: be inspired by devenv
Generally clean things up and copy some config from devenv
2023-03-23 18:21:40 +01:00
bors[bot]
8709f4e322
Merge #226
226: docs: build and deploy with Nix r=zimbatm a=zimbatm



Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-03-13 13:46:10 +00:00
zimbatm
de848b576e
docs: build and deploy with Nix
Control the version of mkdocs and the material theme more tightly.
2023-03-13 14:45:18 +01:00
bors[bot]
867eab4ac3
Merge #225
225: fix treefmt --stdin when changes are moved into tempfile r=zimbatm a=stolyaroleh



Co-authored-by: Oleh Stolyar <stolyar.oleh@gmail.com>
2023-03-08 20:04:56 +00:00
Oleh Stolyar
609e686d7a minor fixes 2023-03-08 19:33:01 +00:00
Oleh Stolyar
63f8fdfe3d fix treefmt --stdin when changes are moved into tempfile
With the following config:

```
[formatter.cpp]
command = "clang-format"
options = ["-i"]
includes = ["*.cpp"]
```

`treefmt --stdin foo.cpp < foo.cpp` would error:
```
[ERROR] original tempfile has been replaced at path "/home/oleh/src/treefmt/_tmpoZwnEJfoo.cpp"
```
..since `clang-format` creates its own tempfile and then moves it into our own tempfile,
replacing it and causing `tmpfile.reopen()` to fail.
2023-03-08 19:32:32 +00:00
bors[bot]
7ef43f6768
Merge #224
224: Feat/mk docs setup r=zimbatm a=zimboflyman



Co-authored-by: zimboflyman <6759437+zimboflyman@users.noreply.github.com>
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2023-03-07 22:10:31 +00:00
zimbatm
ff90750785
bors: remove docs workflow for now 2023-03-07 23:10:03 +01:00
zimbatm
f61333b174
ci: rename so it matches the old workflow 2023-03-07 23:07:58 +01:00
zimbatm
e33898ecd2
mkdocs: fix metadata 2023-03-07 21:48:10 +01:00
zimbatm
1bb3932c83
fmt 2023-03-07 21:46:38 +01:00
zimboflyman
21117bfd61 Merge branch 'main' into feat/mkDocs-setup 2023-03-07 17:56:44 +00:00
zimboflyman
ca2b4f2404 tidy up css 2023-03-07 17:47:08 +00:00
zimboflyman
d10da4fd17 update logo and nix yaml file 2023-03-07 17:33:25 +00:00
zimboflyman
9ac280e502 update css 2023-03-07 10:25:09 +00:00
bors[bot]
e8e80857b5
Merge #223
223: build(deps): bump cachix/install-nix-action from 19 to 20 r=zimbatm a=dependabot[bot]



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 18:03:34 +00:00
dependabot[bot]
35112c916a
build(deps): bump cachix/install-nix-action from 19 to 20
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 19 to 20.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v19...v20)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-06 17:56:56 +00:00
zimboflyman
565d3f3b8c setup github workflow 2023-03-06 08:27:54 +00:00
zimboflyman
d6d7cc5b15 MkDocs styling and setup 2023-03-05 18:49:02 +00:00
bors[bot]
f87219b6b7
Merge #222
222: ocamlformat doc r=zimbatm a=r-muhairi



Co-authored-by: Rashid Al Muhairi <r.muhairi@pm.me>
2023-02-26 10:11:47 +00:00
Rashid Al Muhairi
48842f6e2a
proper config rep for ocamlformat 2023-02-25 11:24:54 +04:00
bors[bot]
fbc27b5eb8
Merge #218
218: build(deps): bump bumpalo from 3.9.1 to 3.12.0 r=zimbatm a=dependabot[bot]



Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 21:05:07 +00:00
dependabot[bot]
c90d00ad06
build(deps): bump bumpalo from 3.9.1 to 3.12.0
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.9.1 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.9.1...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 20:54:07 +00:00
zimbatm
8b30ed582b
ci: fix bors timeout 2023-02-07 21:52:51 +01:00
zimbatm
f96ee229ce
bors.toml: re-generate from current checks 2023-02-07 18:27:58 +01:00
dependabot[bot]
923621bf67
build(deps): bump cachix/install-nix-action from 18 to 19 (#220)
* build(deps): bump cachix/install-nix-action from 18 to 19

Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 18 to 19.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v18...v19)

---
updated-dependencies:
- dependency-name: cachix/install-nix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update nix.yml

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jonas Chevalier <zimbatm@zimbatm.com>
2023-02-07 13:40:09 +01:00
zimbatm
86a7a2e8c5
treefmt treefmt 2023-02-02 18:34:18 +01:00
zimbatm
a3fe774af1
repo: switch default branch to main 2023-02-02 17:37:08 +01:00