mirror of
https://github.com/trapd00r/LS_COLORS.git
synced 2024-12-21 13:22:12 +01:00
Merge branch 'master' into hyperupcall-fix-makefile
This commit is contained in:
commit
4b8885a7d8
5 changed files with 29 additions and 1 deletions
|
@ -12,3 +12,9 @@ charset = utf-8
|
|||
|
||||
[*.sh]
|
||||
indent_size = 2
|
||||
|
||||
[*.{yaml,yml}]
|
||||
indent_size = 2
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
|
|
17
.github/workflows/tests.yaml
vendored
Normal file
17
.github/workflows/tests.yaml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
name: 'Run Tests'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: 'Execute tests'
|
||||
run: './run_tests'
|
|
@ -20,5 +20,4 @@ repos:
|
|||
additional_dependencies:
|
||||
- mdformat-gfm
|
||||
- mdformat-toc
|
||||
|
||||
# EOF
|
||||
|
|
1
Makefile
1
Makefile
|
@ -1,3 +1,4 @@
|
|||
export LC_ALL=C
|
||||
FILE_NAME=lscolors
|
||||
XDG_DATA_HOME ?= $(HOME)/.local/share
|
||||
XDG_DATA_HOME := "$(XDG_DATA_HOME)"
|
||||
|
|
5
tests/works_without_env
Executable file
5
tests/works_without_env
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
|
||||
unset -v XDG_DATA_HOME
|
||||
make install
|
Loading…
Reference in a new issue