Skip to content

Commit c6e6806

Browse files
committed
other: fix lint
1 parent 71cad97 commit c6e6806

36 files changed

Lines changed: 50 additions & 38 deletions

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ indent_size = 2
88
max_line_length = 100
99
trim_trailing_whitespace = true
1010

11-
[*.md]
12-
trim_trailing_whitespace = false
11+
[{*.md,fetch}]
12+
max_line_length = unset
1313

1414
[{homebrew,patches,src}/**]
1515
charset = unset

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
version: 2
23
updates:
34
- package-ecosystem: github-actions

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Build & Upload Artifact
23

34
on:
@@ -13,10 +14,12 @@ on:
1314
jobs:
1415
build:
1516
runs-on: macos-15
17+
1618
permissions:
1719
contents: read
1820
id-token: write
1921
attestations: write
22+
2023
steps:
2124
- name: Checkout
2225
uses: actions/checkout@v4

.shellcheckrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
external-sources=true
2+
3+
# Ignore "Expressions don't expand in single quotes"
4+
disable=SC2016
5+
6+
# Ignore "Use "${var:?}" to ensure this never expands to /*"
7+
disable=SC2115

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# mpv-build-macOS
2+
23
[![Build & Upload Artifact](https://github.com/m154k1/mpv-build-macOS/actions/workflows/build.yml/badge.svg)](https://github.com/m154k1/mpv-build-macOS/actions/workflows/build.yml)
34

45
A set of scripts that help build [mpv](https://mpv.io) on macOS.
@@ -83,10 +84,10 @@ macos-render-timer=feedback
8384

8485
- `MVK_CONFIG_LOG_LEVEL=<value>` - sets MoltenVK log level:
8586

86-
* `0` - disabled
87-
* `1` - error
88-
* `2` - warning
89-
* `3` - verbose
87+
- `0` - disabled
88+
- `1` - error
89+
- `2` - warning
90+
- `3` - verbose
9091

9192
- `MTL_HUD_ENABLED=1` - enables the [Metal Performance HUD].
9293

build-all

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash -e
1+
#!/usr/bin/env -S bash -e
22

33
cd "$(dirname "$0")"
44

build-brotli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash -e
1+
#!/usr/bin/env -S bash -e
22
#
33
# brotli
44
# https://github.com/google/brotli.git

build-dav1d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash -e
1+
#!/usr/bin/env -S bash -e
22
#
33
# dav1d
44
# https://code.videolan.org/videolan/dav1d.git

build-ffmpeg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash -e
1+
#!/usr/bin/env -S bash -e
22
#
33
# FFmpeg
44
# https://git.ffmpeg.org/ffmpeg.git

build-freetype

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash -e
1+
#!/usr/bin/env -S bash -e
22
#
33
# FreeType
44
# https://gitlab.freedesktop.org/freetype/freetype.git

0 commit comments

Comments
 (0)