diff --git a/Jenkinsfile b/Jenkinsfile index d07738f..61018b8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,7 @@ def build_rust_and_frontend() { sh '''#!/bin/bash set -e + set -x export RUSTUP_HOME=/opt/rust/rustup export CARGO_HOME=/opt/rust/cargo TARGET= @@ -32,6 +33,7 @@ def build_rust_and_frontend() { def build_server_and_backend() { sh '''#!/bin/bash set -e + set -x TARGET= case "$arch" in amd64) @@ -57,6 +59,7 @@ def build_server_and_backend() { def build_package() { sh '''#!/bin/bash set -e + set -x TARGET= case "$arch" in amd64) diff --git a/Makefile b/Makefile index 0c06f9d..6c5f93c 100644 --- a/Makefile +++ b/Makefile @@ -73,6 +73,7 @@ antd-% sil%: httpd luafcgi: ifeq ($(LUAFCGI_IGNORE),) @echo "Building $@" + mkdir -p $(BUILD_PREFIX)/bin RUSTUP_HOME=$(RUSTUP_HOME) CARGO_HOME=$(CARGO_HOME) \ . $(CARGO_HOME)/env && \ rustup default stable && \ @@ -100,11 +101,13 @@ clean: backend: @echo "Building $@" + mkdir -p $(BUILD_PREFIX)/htdocs/os DESTDIR=$(BUILD_PREFIX)/htdocs/os make -C antos-backend frontend: ifeq ($(FRONTEND_IGNORE),) @echo "Building $@" + mkdir -p $(BUILD_PREFIX)/htdocs/os BUILDDIR=$(BUILD_PREFIX)/htdocs/os make -C antos-frontend install_dev release else @echo "Ignore building $@"