Skip to content
Snippets Groups Projects

MVP build process

Merged Erick Hitter requested to merge 1-add-build into master
Compare and Show latest version
2 files
+ 23
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 9
2
@@ -51,7 +51,7 @@ git clone -q --recursive --depth 1 https://github.com/nginx/nginx.git -b "$NGINX
# Configure nginx
echo ""
echo "CONFIGURE NGINX"
cd "$NGINX_SRC_DIR" || exit
cd "$NGINX_SRC_DIR" || exit 1
./auto/configure \
--prefix=/etc/nginx \
@@ -98,4 +98,11 @@ echo ""
echo "BUILDING NGINX"
echo "Using $(nproc) jobs"
make
"$NGINX_SRC_DIR/objs/nginx -V"
if [[ ! -f "$NGINX_SRC_DIR/objs/nginx" ]]; then
exit 1
fi
# Verify build works
cd "$NGINX_SRC_DIR/objs" || exit 1
./nginx -V
Loading