Skip to content

Commit

Permalink
chore: Drop dprint
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Blackman committed Feb 12, 2024
1 parent 9a0b177 commit 44fc9c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
15 changes: 0 additions & 15 deletions .dprint.json

This file was deleted.

8 changes: 2 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ cargo-deny = { version = "0.13.5" }
cargo-gha = { version = "0.4.6" }
cargo-llvm-cov = { version = "0.5.25" }
cargo-nextest = { version = "0.9.57", locked = true }
dprint = { version = "0.40.2" }
git-cliff = { version = "1.3.1" }
rust-script = { version = "0.21.0" }

Expand All @@ -65,7 +64,6 @@ lint = '''set -e
cargo +ltcc-nightly fmt --check
cargo clippy
cargo check
cargo bin dprint check
cargo bin cargo-deny check licenses
'''
lint-fix = '''set -e
Expand All @@ -75,14 +73,13 @@ lint-fix = '''set -e
# Run twice as for some reason not all formatting is applied on the first try.
cargo +ltcc-nightly fmt
cargo +ltcc-nightly fmt
cargo bin dprint fmt
'''
goreleaser = '''set -e
export LTCC_VERSION=$(cat Cargo.toml | grep version | head -n1 | awk -F '"' '{print $2}')
cargo cmd build-completions
AUR_KEY=$(cat ~/.ssh/aur) cargo gha goreleaser --rm-dist
cargo bin git-cliff --latest --strip header | cargo bin dprint fmt --stdin md | cargo gha gh release edit "v$LTCC_VERSION" --notes-file -
cargo bin git-cliff --latest --strip header | cargo gha gh release edit "v$LTCC_VERSION" --notes-file -
tools/apt.sh "$LTCC_VERSION" "$(realpath dist)"
tools/choco.sh "$LTCC_VERSION" "$(realpath dist)"
tools/nur.sh "$LTCC_VERSION" "$(realpath dist)"
Expand All @@ -95,6 +92,7 @@ release = '''set -e
./tools/thirdparty/run.sh
gh workflow run release.yml --ref main
sleep 5
while true; do
res=$(cargo gha gh run list -R dustinblackman/languagetool-code-comments -w build --json conclusion,databaseId | jq -rc '.[0]')
echo "Status: $res"
Expand All @@ -112,15 +110,13 @@ release = '''set -e
export LTCC_VERSION=$(cat Cargo.toml | grep version | head -n1 | awk -F '"' '{print $2}')
cargo bin git-cliff -o CHANGELOG.md --tag "v$LTCC_VERSION"
cargo bin dprint fmt
git add .
git commit -m "v$LTCC_VERSION"
git tag -a "v$LTCC_VERSION" -m "v$LTCC_VERSION"
cargo build
cargo bin rust-script ./tools/update-readme.rs
cargo bin dprint fmt
git add .
git commit --amend -m "v$LTCC_VERSION"
git tag -d "v$LTCC_VERSION"
Expand Down

0 comments on commit 44fc9c3

Please sign in to comment.