summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-04-17 17:57:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-04-17 17:57:47 +0000
commit1d63948d79ca6f32889656692d6736c9127f2ee1 (patch)
treebb26a34d7c7b62ac30b0d4da15584efe3e2a754a /build
parentReleasing debian version 1.13.0-1. (diff)
downloadnetdata-1d63948d79ca6f32889656692d6736c9127f2ee1.tar.xz
netdata-1d63948d79ca6f32889656692d6736c9127f2ee1.zip
Merging upstream version 1.14.0~rc0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/build.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/build/build.sh b/build/build.sh
new file mode 100755
index 000000000..892a7da98
--- /dev/null
+++ b/build/build.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+if [ ! -f .gitignore ]; then
+ echo "Run as ./travis/$(basename "$0") from top level directory of git repository"
+ exit 1
+fi
+
+if [ "$IS_CONTAINER" != "" ]; then
+ autoreconf -ivf
+ ./configure --enable-maintainer-mode
+ make dist
+ rm -rf autom4te.cache
+else
+ docker run --rm -it \
+ --env IS_CONTAINER=TRUE \
+ --volume "${PWD}:/project:Z" \
+ --workdir "/project" \
+ netdata/builder:gcc \
+ ./build/build.sh
+fi