slint/.gitignore
Tobias Hunger e5ecb9cf6c infra: Test out mise
I found `mise` a tool to help manage development projects.
https://mise.jdx.dev/

It basically can manage ENV vars based on the directory you are in,
manages tools you need (and makes thoser available based on the
directory you are in), and allows to define simple tasks that can
then be shared between developers.

Tools can be found in npm, pipx, aqua, binaries on github, ...
and it tries to verify signatures and all that (if supported by the
repo the data comes from).

I replaces the entire autofix workflow with mise tooling and tasks,
just to give it a try :-)

To reproduce:

```sh
> cargo install mise # to get the tool itself

# Follow the necessary step
# https://mise.jdx.dev/installing-mise.html#shells
# to intergate into your shell

> cd /your/slint/folder

# Mise will now ask whether or not to trust this dir and prints the
# command needed to do so. Run that.

> mise install # Install all the tools defined in .mise/config.toml

# Add a .mise.local.toml with local overrides. Git will ignore this file.
# Or add tasks into .mise/tasks/local ... Git will also ignore those.

> mise run 'ci:autofix:**:all' # To run all the ci:autofix tasks.
```

It is so much fatser to see these checks fail locally than it is to
bother CI with them :-)
2025-03-20 16:33:00 +01:00

33 lines
529 B
Text

Cargo.lock
tsconfig.tsbuildinfo
/target
node_modules
/tools/figma_import/target
/tools/figma_import/figma_output
*.code-workspace
/build
/_deps
.DS_Store
Pipfile.lock
/docs/astro/src/content/collections/enums/
/docs/astro/src/content/collections/structs/
/playwright-report
# Ignore all package-lock.json files
**/package-lock.json
# But keep these specific ones
!editors/vscode/package-lock.json
# MISE local files:
/.mise.local.toml
/.mise/tasks/local/
*.node
*.d.ts
__pycache__
uv.lock
.python-version
MODULE.bazel.lock