aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-01-23 23:03:57 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-01-27 23:20:40 -0300
commit88ba851893362dacdbde6ff9527675b07affff27 (patch)
treee5d10d7aedd06142588e25b51a1a07f97378be75 /.github
parentbuild: move man page targets to after seccomp filters (diff)
downloadfirejail-88ba851893362dacdbde6ff9527675b07affff27.tar.gz
firejail-88ba851893362dacdbde6ff9527675b07affff27.tar.zst
firejail-88ba851893362dacdbde6ff9527675b07affff27.zip
build: move syntax files to contrib/syntax/files
Having all of syntax files in the same directory makes it easier to reference all of them at once on a makefile (such as with `contrib/syntax/files/*.in`). Also, this makes the path to the gtksourceview language-spec shorter. Current path/new path: * contrib/gtksourceview-5/language-specs/firejail-profile.lang * contrib/syntax/files/firejail-profile.lang Currently, adding a rule to the root Makefile to generate the language-spec in the same directory as an input file would take at least 95 characters (with only a single dependency): contrib/gtksourceview-5/language-specs/%.lang: contrib/gtksourceview-5/language-specs/%.lang.in With this commit, the above shortened to 59 characters: contrib/syntax/files/%.lang: contrib/syntax/files/%.lang.in Which should make it more readable. Relates to #2679 #5502.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-extra.yml4
-rw-r--r--.github/workflows/codeql-analysis.yml4
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml
index f777174d7..a7b7c8a3e 100644
--- a/.github/workflows/build-extra.yml
+++ b/.github/workflows/build-extra.yml
@@ -5,7 +5,7 @@ on:
5 branches: [ master ] 5 branches: [ master ]
6 paths-ignore: 6 paths-ignore:
7 - '.github/ISSUE_TEMPLATE/*' 7 - '.github/ISSUE_TEMPLATE/*'
8 - 'contrib/gtksourceview-5/**' 8 - 'contrib/syntax/**'
9 - 'contrib/vim/**' 9 - 'contrib/vim/**'
10 - 'etc/**' 10 - 'etc/**'
11 - 'src/man/*.txt' 11 - 'src/man/*.txt'
@@ -27,7 +27,7 @@ on:
27 branches: [ master ] 27 branches: [ master ]
28 paths-ignore: 28 paths-ignore:
29 - '.github/ISSUE_TEMPLATE/*' 29 - '.github/ISSUE_TEMPLATE/*'
30 - 'contrib/gtksourceview-5/**' 30 - 'contrib/syntax/**'
31 - 'contrib/vim/**' 31 - 'contrib/vim/**'
32 - 'etc/**' 32 - 'etc/**'
33 - 'src/man/*.txt' 33 - 'src/man/*.txt'
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 115919477..eb9c28345 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -10,7 +10,7 @@ on:
10 branches: [ master ] 10 branches: [ master ]
11 paths-ignore: 11 paths-ignore:
12 - '.github/ISSUE_TEMPLATE/*' 12 - '.github/ISSUE_TEMPLATE/*'
13 - 'contrib/gtksourceview-5/**' 13 - 'contrib/syntax/**'
14 - 'contrib/vim/**' 14 - 'contrib/vim/**'
15 - 'etc/**' 15 - 'etc/**'
16 - 'src/man/*.txt' 16 - 'src/man/*.txt'
@@ -32,7 +32,7 @@ on:
32 branches: [ master ] 32 branches: [ master ]
33 paths-ignore: 33 paths-ignore:
34 - '.github/ISSUE_TEMPLATE/*' 34 - '.github/ISSUE_TEMPLATE/*'
35 - 'contrib/gtksourceview-5/**' 35 - 'contrib/syntax/**'
36 - 'contrib/vim/**' 36 - 'contrib/vim/**'
37 - 'etc/**' 37 - 'etc/**'
38 - 'src/man/*.txt' 38 - 'src/man/*.txt'