Compare commits

..

8 Commits

Author SHA1 Message Date
e52e32a2c0
trying again 2022-10-21 02:22:04 +02:00
6a999ef25d
removed win 2022-10-21 02:19:05 +02:00
7918006315
without man pages 2022-10-21 02:11:17 +02:00
61f4423d47
fix space 2022-10-21 02:05:27 +02:00
df2cae393c
with license 2022-10-21 02:00:19 +02:00
0a0d05c048
Added homebrew 2022-10-21 01:50:06 +02:00
807611ffce
With executable rights 2022-10-21 01:47:18 +02:00
def18273f4
... 2022-10-21 01:42:18 +02:00
6 changed files with 29 additions and 19 deletions

View File

@ -18,7 +18,7 @@ on:
push:
# Enable when testing release infrastructure on a branch.
branches:
- kjuulh/tests
- kjuulh/test
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
@ -68,7 +68,7 @@ jobs:
PCRE2_SYS_STATIC: 1
strategy:
matrix:
build: [linux, linux-arm, macos, win-msvc, win-gnu, win32-msvc]
build: [linux, linux-arm, macos] #, win-msvc, win-gnu, win32-msvc]
include:
- build: linux
os: ubuntu-22.04
@ -81,19 +81,20 @@ jobs:
- build: macos
os: macos-12
rust: nightly
target: x86_64-apple-darwin
- build: win-msvc
os: windows-2022
rust: nightly
target: x86_64-pc-windows-msvc
- build: win-gnu
os: windows-2022
rust: nightly-x86_64-gnu
target: x86_64-pc-windows-gnu
- build: win32-msvc
os: windows-2022
rust: nightly
target: i686-pc-windows-msvc
target:
x86_64-apple-darwin
# - build: win-msvc
# os: windows-2022
# rust: nightly
# target: x86_64-pc-windows-msvc
# - build: win-gnu
# os: windows-2022
# rust: nightly-x86_64-gnu
# target: x86_64-pc-windows-gnu
# - build: win32-msvc
# os: windows-2022
# rust: nightly
# target: i686-pc-windows-msvc
steps:
- name: Checkout repository
@ -148,8 +149,8 @@ jobs:
staging="kignore-${{ needs.create-release.outputs.kignore_version }}-${{ matrix.target }}"
mkdir -p "$staging"/{complete,doc}
cp {README.md,COPYING,UNLICENSE,LICENSE-MIT} "$staging/"
cp {CHANGELOG.md,FAQ.md,GUIDE.md} "$staging/doc/"
cp {README.md,LICENSE-MIT} "$staging/"
#cp {CHANGELOG.md,FAQ.md,GUIDE.md} "$staging/doc/"
#cp "$outdir"/{rg.bash,rg.fish,_rg.ps1} "$staging/complete/"
#cp complete/_rg "$staging/complete/"
@ -159,7 +160,7 @@ jobs:
echo "ASSET=$staging.zip" >> $GITHUB_ENV
else
# The man page is only generated on Unix systems.
cp "$outdir"/kignore.1 "$staging/doc/"
#cp "$outdir"/kignore.1 "$staging/doc/"
cp "target/${{ matrix.target }}/release/kignore" "$staging/"
tar czf "$staging.tar.gz" "$staging"
echo "ASSET=$staging.tar.gz" >> $GITHUB_ENV

7
LICENSE-MIT Normal file
View File

@ -0,0 +1,7 @@
Copyright 2022 Kasper Juul Hermansen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -42,4 +42,6 @@ git clone https://github.com/kjuulh/gitignore
### Homebrew
TBA
Added in HomebrewFormula
Instructions TBA

0
ci/build-dep Normal file → Executable file
View File

0
ci/cargo-out-dir Normal file → Executable file
View File

0
ci/ubuntu-install-packages Normal file → Executable file
View File