Skip to content

Commit

Permalink
make: add bmake alias
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Apr 26, 2020
1 parent b8c2a95 commit 6b42551
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions completions/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ autoheader
automake-1.1[0123456]
autossh
autoupdate
bmake
bsdtar
btdownloadcurses.py
btdownloadgui.py
Expand Down
3 changes: 2 additions & 1 deletion completions/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ CLEANFILES = \
automake-1.16 \
autossh \
autoupdate \
bmake \
bsdtar \
btdownloadcurses.py \
btdownloadgui.py \
Expand Down Expand Up @@ -847,7 +848,7 @@ symlinks: $(DATA)
$(ss) lzip \
clzip pdlzip plzip
$(ss) make \
colormake gmake gnumake pmake
bmake colormake gmake gnumake pmake
$(ss) man \
apropos whatis
$(ss) mcrypt \
Expand Down
2 changes: 1 addition & 1 deletion completions/make
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,6 @@ _make()

fi
} &&
complete -F _make make gmake gnumake pmake colormake
complete -F _make make gmake gnumake pmake colormake bmake

# ex: filetype=sh
1 change: 1 addition & 0 deletions test/t/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ EXTRA_DIST = \
test_bind.py \
test_bison.py \
test_bk.py \
test_bmake.py \
test_brctl.py \
test_btdownloadcurses_py.py \
test_btdownloadgui_py.py \
Expand Down
7 changes: 7 additions & 0 deletions test/t/test_bmake.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import pytest


class TestBmake:
@pytest.mark.complete("bmake -", require_cmd=True)
def test_options(self, completion):
assert completion

0 comments on commit 6b42551

Please sign in to comment.