Logo
Explore Help
Sign In
Dark-Alex-17/managarr
1
0
Fork 0
You've already forked managarr
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
e13d1ece58f51970d4496bae7ec77d303274a2f2
managarr/.cargo-husky/hooks/pre-commit
Dark-Alex-17 77fd9e621f Did a lot of things in this one: Cleaned up a bit of leftover unused code from yesterday; deprecated the use of drain() on HorizontallyScrollableText; Refactored the uses of search and filter to be wrapped in Options; Fixed a race condition when closing the Add Movie modals in rapid succession; upgraded to ratatui 0.22.0; Fixed a bug in attempting to close an empty root folder; fixed a bug in attempting to close an empty filter; fixed a bug in attempting to close an empty search; fixed a bug in attempting to close an empty filter without resetting the view; fixed a bug in attempting to delete a movie after dynamically added one and updating the main library table
2023-08-08 10:50:07 -06:00

12 lines
266 B
Bash
Executable File
Raw Blame History

#!/bin/sh
set -e
echo "Running pre-commit hook:"
echo "Executing: cargo fmt"
cargo fmt
echo "Executing: cargo clippy --all-targets --workspace -- -D warnings"
find . | grep "\.\/src\/.*\.rs$" | xargs touch ; cargo clippy --all-targets --workspace -- -D warnings
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.26.0+dev-405-g45ee571693 Page: 57ms Template: 4ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API