unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 917752ff72cbf3061fb5ea60d2ff5872cb0b25cf 229 bytes (raw)
name: devel/out-of-tree-build-check.sh 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
#!/bin/sh
# test out-of-tree builds in a temp directory
# passes all args to make

set -eu

srcdir="$(cd "$(dirname "$0")"/.. && pwd)"
builddir=$(mktemp -d)

cd $builddir

$srcdir/configure
make "$@"

cd $srcdir
rm -rf $builddir

debug log:

solving 917752ff72cb ...
found 917752ff72cb in https://yhetil.org/notmuch/578efe3a1c55a7030f4f58d56be8ae8a3149cd5d.1506370901.git.jani@nikula.org/

applying [1/1] https://yhetil.org/notmuch/578efe3a1c55a7030f4f58d56be8ae8a3149cd5d.1506370901.git.jani@nikula.org/
diff --git a/devel/out-of-tree-build-check.sh b/devel/out-of-tree-build-check.sh
new file mode 100755
index 000000000000..917752ff72cb

Checking patch devel/out-of-tree-build-check.sh...
Applied patch devel/out-of-tree-build-check.sh cleanly.

index at:
100755 917752ff72cbf3061fb5ea60d2ff5872cb0b25cf	devel/out-of-tree-build-check.sh

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).