mirror of
https://github.com/containers/podman.git
synced 2025-05-17 06:59:07 +08:00

Add the following targets in winmake.ps1: - `installer`: builds the Windows installer - `docs`: builds the documentation HTML pages - `validatepr`: runs the Linux Makefile `.valiatepr` target using podman. - `lint`: faster validation that runs linter locally Update of `build_windows.md`: - removed every reference to the MSYS2 platform - added instructions to build the installer and linters Fix https://github.com/containers/podman/issues/21821 and https://github.com/containers/podman/issues/21911 Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
23 lines
1.1 KiB
YAML
23 lines
1.1 KiB
YAML
---
|
|
exclude: ^vendor/|^test/tools/vendor/
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks.git
|
|
rev: v3.4.0
|
|
hooks:
|
|
# `buildah-tests.diff` is generated by 'git format-patch' and includes
|
|
# trailing whitespace as part of its format. We can work around that,
|
|
# but unfortunately the buildah repo has some files with tabs, which
|
|
# git-diff formats as '[+/-]<space><tab>', which these hooks choke on.
|
|
# `contrib/systemd/user` is a symlink but for some reason, on windows,
|
|
# pre-commit consider it as a regular file and tries to fix it.
|
|
# Just disable checks on these files as a special case.
|
|
- id: end-of-file-fixer
|
|
exclude: test/buildah-bud/buildah-tests.diff|contrib/systemd/user
|
|
- id: trailing-whitespace
|
|
exclude: test/buildah-bud/buildah-tests.diff|test/e2e/quadlet/remap-keep-id2.container|test/e2e/quadlet/line-continuation-whitespace.container
|
|
- id: mixed-line-ending
|
|
- id: check-byte-order-marker
|
|
- id: check-executables-have-shebangs
|
|
- id: check-merge-conflict
|
|
- id: check-yaml
|