forked from fboender/multi-git-status
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sla
More file actions
21 lines (19 loc) · 664 Bytes
/
build.sla
File metadata and controls
21 lines (19 loc) · 664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# This is a script containing functions that are used as build rules. You can
# use the Simple Little Automator (https://github.com/fboender/sla.git) to run
# these rules, or you can run them directly in your shell:
#
# $ bash -c ". build.sla && test"
#
test () {
# Test / lint
IGNORE=""
IGNORE="${IGNORE}SC1117," # "Backslash is literal in..."
IGNORE="${IGNORE}SC2059" # "Don't use variables in the printf format string."
# But we need to or colors won't work
shellcheck -e $IGNORE mgitstatus
}
man () {
# Build the man page from markdown source
pandoc ./mgitstatus.1.md -s -t man > mgitstatus.1
}