dependabot[bot]
676731f566
build(deps): bump crazy-max/ghaction-github-pages from 2 to 3 ( #170 )
...
Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages ) from 2 to 3.
- [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases )
- [Changelog](https://github.com/crazy-max/ghaction-github-pages/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/crazy-max/ghaction-github-pages/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-pages
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>
2022-05-31 09:52:32 +02:00
zimbatm
d19198044e
treefmt.toml: add warning for sh -c
2022-05-20 16:18:55 +02:00
zimbatm
3824820f08
flake.nix: clean outputs
...
Move closer to the nix 2.8 schema
2022-05-18 20:26:35 +02:00
zimbatm
0b8e57c5e6
shell.nix: use the right dev shell
2022-05-18 20:19:08 +02:00
Jean-François Roche
25f1ed63f4
cli: add --formatters option ( #168 )
...
Select formatters name to apply. Defaults to all formatters
refs #167
2022-05-18 18:14:51 +02:00
Jonas Chevalier
9e21d3ff93
add pre-commit contrib script ( #166 )
...
This is working towards #78 . In the end that script would be shipped
with the treefmt binary, but for now let's just test it out.
2022-05-12 18:20:55 +02:00
Tristan de Cacqueray
be1d854f85
nix: move ci dependencies to the devShell ( #161 )
...
Fixes #160
2022-05-12 11:42:14 +02:00
Jonas Chevalier
0236d1fdc9
Merge pull request #162 from srid/m1
...
Allow macOS M1
2022-05-08 23:43:46 +02:00
Sridhar Ratnakumar
e4c88ab14e
Run treefmt to format examples/python
2022-05-08 15:59:20 -04:00
Sridhar Ratnakumar
3d306f9094
nix: use eachDefaultSystem (to allow macOS M1)
2022-05-03 19:09:25 -04:00
Sridhar Ratnakumar
1457f2fdb0
nix: Update flake-utils and nixpkgs
2022-05-03 19:09:15 -04:00
zimbatm
e7918e97ce
Release v0.4.1
2022-05-03 10:47:19 +02:00
zimbatm
39078aa1d7
ci: remove FreeBSD release
...
I don't know how to fix this:
error: linking with `x86_64-unknown-freebsd12-gcc` failed: exit status: 1
Error: |
= note: "x86_64-unknown-freebsd12-gcc" "-m64" "/target/x86_64-unknown-freebsd/release/deps/treefmt-627624e995a5005a.treefmt.707d4e17-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/target/x86_64-unknown-freebsd/release/deps" "-L" "/target/release/deps" "-L" "/rust/lib/rustlib/x86_64-unknown-freebsd/lib" "-Wl,--start-group" "-Wl,--end-group" "-Wl,-Bstatic" "/rust/lib/rustlib/x86_64-unknown-freebsd/lib/libcompiler_builtins-5bdf9212626c08e9.rlib" "-Wl,-Bdynamic" "-lrt" "-lutil" "-lexecinfo" "-lkvm" "-lutil" "-lprocstat" "-lrt" "-ldevstat" "-lexecinfo" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lrt" "-lutil" "-lexecinfo" "-lkvm" "-lutil" "-lprocstat" "-lrt" "-ldevstat" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/rust/lib/rustlib/x86_64-unknown-freebsd/lib" "-o" "/target/x86_64-unknown-freebsd/release/deps/treefmt-627624e995a5005a" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
= note: /usr/local/lib/gcc/x86_64-unknown-freebsd12/6.4.0/../../../../x86_64-unknown-freebsd12/bin/ld: cannot find -lkvm
/usr/local/lib/gcc/x86_64-unknown-freebsd12/6.4.0/../../../../x86_64-unknown-freebsd12/bin/ld: cannot find -ldevstat
/usr/local/lib/gcc/x86_64-unknown-freebsd12/6.4.0/../../../../x86_64-unknown-freebsd12/bin/ld: cannot find -lkvm
/usr/local/lib/gcc/x86_64-unknown-freebsd12/6.4.0/../../../../x86_64-unknown-freebsd12/bin/ld: cannot find -ldevstat
collect2: error: ld returned 1 exit status
2022-05-03 10:44:45 +02:00
zimbatm
fa441e93aa
ci: fix the macOS release
2022-05-03 10:44:45 +02:00
zimbatm
e9dbeabd15
ci: remove unnecessary cache
...
This runs once every months at most. The cache isn't buying us anything
and might cause some more jitter.
2022-05-03 10:44:45 +02:00
zimbatm
9f9d61344c
Release v0.4.0
2022-05-02 20:11:58 +02:00
Jonas Chevalier
591b299fda
Cargo update ( #158 )
...
* bump cargo dependencies
* fix rust compilation warnings
2022-05-02 20:07:50 +02:00
Jonas Chevalier
dfecb1d6cb
cli: add --no-cache option ( #157 )
...
This is useful for CI where you don't care about eval caching. And avoid
the issue described in #156 .
2022-05-02 19:26:56 +02:00
Jonas Chevalier
51423833dc
cache: also track file sizes ( #155 )
...
File mtimes is actually not precise enough in all cases. By also
tracking the file sizes it should reduce the instances of
false-positives.
See #46
2022-05-02 19:09:05 +02:00
dependabot[bot]
d6c621f225
build(deps): bump actions/download-artifact from 2 to 3 ( #152 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
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>
2022-04-11 19:46:09 +02:00
dependabot[bot]
c4999a7056
build(deps): bump actions/upload-artifact from 2 to 3 ( #151 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
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>
2022-04-11 19:32:54 +02:00
dependabot[bot]
5ca8c08bb5
build(deps): bump cachix/install-nix-action from 16 to 17 ( #150 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 16 to 17.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v16...v17 )
---
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>
2022-04-11 19:32:44 +02:00
dependabot[bot]
f5436ac91b
build(deps): bump actions/cache from 2 to 3 ( #148 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
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>
2022-03-25 00:33:24 +01:00
Jörg Thalheim
11b6bcc4e5
README: link to wiki ( #147 )
2022-03-18 17:52:33 +01:00
dependabot[bot]
09474bcfe8
build(deps): bump actions/checkout from 2 to 3 ( #146 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
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>
2022-03-08 11:02:56 +01:00
Jonas Chevalier
26d7f5f15e
website: remove landing page ( #145 )
...
It's better to have no landing page than a half-finished one.
2021-12-24 17:47:18 +01:00
Jonas Chevalier
bada93eead
Update rust.yml
...
Fixes #144
2021-12-20 10:16:18 +01:00
zimbatm
99fb8ccd1c
nix: add mdsh to the devenv
2021-12-18 12:47:11 +01:00
zimbatm
f44033281e
treefmt.toml: fix shell invocation
...
Put a dummy "--" as the first argument, otherwise the first file is
always ignored.
See https://github.com/numtide/treefmt/issues/77#issuecomment-997030856
2021-12-18 12:47:11 +01:00
zimbatm
871b10dba4
Release v0.3.0
2021-12-17 18:56:55 +01:00
Jonas Chevalier
dd00a09878
Merge pull request #142 from numtide/zero-arguments
...
formatter: noop on zero args
2021-12-17 18:52:16 +01:00
zimbatm
56f66e623e
formatter: noop on zero args
...
Speed up the zero case by not even invoking the underlying formatter.
2021-12-17 18:35:06 +01:00
zimbatm
aa4684a8d9
treefmt.toml: add shellcheck example
2021-12-17 18:35:06 +01:00
zimbatm
0c7dce3b48
nix: restore rustfmt to the environment
2021-12-17 18:35:05 +01:00
zimbatm
f3348bed36
clippy derive default
2021-12-17 18:35:05 +01:00
zimbatm
7fcb313c6d
doc: add inline script example
...
This is more flexible than creating an external script.
2021-12-12 16:19:41 +01:00
Jonas Chevalier
e7def7c29e
fix clippy warnings ( #139 )
2021-12-11 22:43:02 +01:00
Basile Henry
874d65223c
Handle the case where no formatter match path for stdin ( #138 )
2021-12-09 11:04:34 +01:00
dependabot[bot]
d9863a6bcd
build(deps): bump cachix/install-nix-action from 15 to 16 ( #136 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 15 to 16.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v15...v16 )
---
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>
2021-11-26 16:49:10 +00:00
dependabot[bot]
1e38ba69dd
build(deps): bump cachix/install-nix-action from 14 to 15 ( #135 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 14 to 15.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v14...v15 )
---
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>
2021-11-15 18:21:02 +01:00
Jonas Chevalier
46a99b4de4
Merge pull request #130 from numtide/flake-update
...
fix macOS
2021-11-12 23:03:16 +01:00
zimbatm
10e55961d6
fix the macOS builds
...
replace the devshell to make it work on macOS
2021-11-12 22:37:05 +01:00
zimbatm
12122968ff
cargo update
2021-11-12 20:31:40 +01:00
zimbatm
5e9ae5436e
fmt
2021-11-12 20:31:40 +01:00
David Arnold
3801e8e10a
Trade in naersk for a newer version of nixpkgs ( #134 )
...
- Naersk has the annoying property to pin nixpkgs as a dep
- Nixpkgs mostly is a _core_ dependency that it is worth auditing duely
(e.g. to avoid cache mismatches and other spourious errors)
- Every usage of naersk adds a another "spurious" nixpkgs dep somewhere
to the flake lock. That makes auditing less straight forward.
2021-11-11 23:04:27 +00:00
David Arnold
d8e59ef91a
Add meta.description to play nicely with devshell menu ( #132 )
2021-11-11 19:01:45 +00:00
Vincent Ambo
70990b3924
allow config files to be independent from worktree location ( #131 )
...
This is useful in cases where a config file is built by Nix (e.g. to
ensure the availability of all formatters by templating their paths),
as would be preferred for the TVL monorepo.
2021-10-10 14:25:44 +00:00
dependabot[bot]
20de96d02a
build(deps): bump cachix/install-nix-action from 13 to 14 ( #128 )
...
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action ) from 13 to 14.
- [Release notes](https://github.com/cachix/install-nix-action/releases )
- [Commits](https://github.com/cachix/install-nix-action/compare/v13...v14 )
---
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>
2021-09-13 20:05:12 +02:00
zimbatm
be246b05b3
display round ms
...
Fractional ms doesn't provide any value. We get it, it's fast.
2021-09-02 22:25:59 +02:00
zimbatm
98460a8da0
Release v0.2.6
2021-08-31 17:12:54 +02:00