Skip to content
Snippets Groups Projects

MVP build process

Merged Erick Hitter requested to merge 1-add-build into master
2 files
+ 16
8
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 8
3
@@ -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 \
@@ -99,5 +99,10 @@ echo "BUILDING NGINX"
echo "Using $(nproc) jobs"
make
ls -la "$NGINX_SRC_DIR"
ls -la "$NGINX_SRC_DIR/objs"
if [[ ! -f "$NGINX_SRC_DIR/objs/nginx" ]]; then
exit 1
fi
# Verify build works
cd "$NGINX_SRC_DIR/objs" || exit 1
./nginx -V
Loading