Skip to content

Commit 4d5cf55

Browse files
committed
Merge remote-tracking branch 'upstream/main' into agnostic
2 parents 7d6a314 + 4f070d3 commit 4d5cf55

26 files changed

+1386
-940
lines changed

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
7+
[vcsh]
8+
indent_style = tab
9+
trim_trailing_whitespace = true

.github/workflows/lint.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Lint
2+
on: [push, pull_request]
3+
jobs:
4+
editor-config:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v2
9+
- name: Lint code style
10+
uses: editorconfig-checker/[email protected]

.github/workflows/test.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Test
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v2
9+
- name: Install build dependencies
10+
run: |
11+
sudo apt-get install ruby-ronn
12+
- name: Install perl test dependencies
13+
uses: perl-actions/[email protected]
14+
with:
15+
install: |
16+
Shell::Command
17+
Test::Most
18+
- name: Run tests
19+
run: |
20+
make test

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
vcsh.1
12
*.patch
23
*.swp
34
.swp

CONTRIBUTORS

+12
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,41 @@
11
Alphabetical list of surnames of everyone who ever committed to this repository.
22
Auto-generated from tools/list_CONTRIBUTORS.
33

4+
Skurikhin Alexander <[email protected]>
45
Eric Bouchut <[email protected]>
56
Dridi Boukelmoune <[email protected]>
67
Rob Cornish <[email protected]>
78
Vincent Demeester <[email protected]>
9+
Mert Dirik <[email protected]>
10+
Jeff Fein-Worton <[email protected]>
811
Thomas Ferris Nicolaisen <[email protected]>
912
martin f. krafft <[email protected]>
1013
Alessandro Ghedini <[email protected]>
14+
Dennis Gilmore <[email protected]>
15+
Thorsten Glaser <[email protected]>
16+
1117
Mikhail Gusarov <[email protected]>
1218
Valentin Haenel <[email protected]>
1319
Richard Hartmann <[email protected]>
1420
Gregor Jasny <[email protected]>
1521
Errietta Kostala <[email protected]>
22+
Yuval Langer <[email protected]>
1623
Caleb Maclennan <[email protected]>
1724
Markus Martin <[email protected]>
1825
mek-apelsin <[email protected]>
1926
Evan Pitstick <[email protected]>
2027
Dieter Plaetinck <[email protected]>
2128
Corey Quinn <[email protected]>
2229
Pavlos Ratis <[email protected]>
30+
Dewey Sasser <[email protected]>
2331
Gernot Schulz <[email protected]>
32+
Aaron Schumacher <[email protected]>
33+
Andrew Schwartzmeyer <[email protected]>
2434
Dato Simó <[email protected]>
2535
Alexander Skurikhin <[email protected]>
2636
Jonathan Sternberg <[email protected]>
37+
Mathias Svensson <[email protected]>
2738
Frank Terbeck <[email protected]>
39+
mirabilos <[email protected]>
2840
Aaron VonderHaar <[email protected]>
2941

Makefile

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
PREFIX=/usr
1+
PREFIX?=/usr
22
DOCDIR_PREFIX=$(PREFIX)/share/doc
33
DOCDIR=$(DOCDIR_PREFIX)/$(self)
44
ZSHDIR=$(PREFIX)/share/zsh/vendor-completions
55
RONN ?= ronn
66

77
self=vcsh
88
manpages=$(self).1
9-
all=test
9+
all=manpages
1010

1111
all: $(all)
1212

@@ -40,11 +40,9 @@ uninstall:
4040
purge: uninstall
4141
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/bin/
4242
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/man/man1/
43-
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(DOCDIR_PREFIX)
43+
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(DOCDIR)
4444
rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(ZSHDIR)
4545

4646
test:
47-
@if which git > /dev/null ; then :; else echo "'git' not found, exiting..."; exit 1; fi
48-
49-
moo:
50-
@if [ -x /usr/games/cowsay ]; then /usr/games/cowsay "I hope you're happy now..."; fi
47+
@if which git > /dev/null; then : ; else echo "'git' not found, exiting..." ; exit 1; fi
48+
@if which prove > /dev/null; then prove; else echo "'prove' not found; not running tests"; fi

0 commit comments

Comments
 (0)