mirror of
https://github.com/harivansh-afk/deskctl.git
synced 2026-04-15 09:01:15 +00:00
tests and tooling (#4)
* init openspec * clean out src, move mod into lib, remove trash * create tests * pre-commit hook * add tests to CI * update website * README, CONTRIBUTING and Makefile * openspec * archive task * fix ci order * fix integration test * fix validation tests
This commit is contained in:
parent
7dfab68304
commit
3819a85c47
24 changed files with 892 additions and 286 deletions
15
.pre-commit-config.yaml
Normal file
15
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: rustfmt
|
||||
name: rustfmt
|
||||
entry: cargo fmt --
|
||||
language: system
|
||||
files: \.rs$
|
||||
pass_filenames: true
|
||||
- id: site-format-check
|
||||
name: site format check
|
||||
entry: make site-format-check
|
||||
language: system
|
||||
files: ^site/
|
||||
pass_filenames: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue