use shell pipefail in makefiles

This commit is contained in:
Stefano D'Angelo 2025-06-05 08:21:03 +02:00
parent bb9d68c633
commit 9a86ef2de8
8 changed files with 14 additions and 2 deletions

View File

@ -18,6 +18,8 @@
# File author: Stefano D'Angelo
#
SHELL := bash -o pipefail
TEMPLATE := android
include vars.mk

View File

@ -18,6 +18,8 @@
# File author: Stefano D'Angelo
#
SHELL := bash -o pipefail
TEMPLATE := cmd
include vars.mk

View File

@ -18,6 +18,8 @@
# File author: Stefano D'Angelo
#
SHELL := bash -o pipefail
TEMPLATE := daisy-seed
include vars.mk

View File

@ -18,6 +18,8 @@
# File author: Stefano D'Angelo
#
SHELL := bash -o pipefail
TEMPLATE := ios
include vars.mk

View File

@ -26,5 +26,5 @@ module.exports = function (data, api) {
api.generateFileFromTemplateFile(`src${sep}index.html`, `src${sep}index.html`, data);
api.copyFile(`src${sep}native.mm`, `src${sep}native.mm`);
api.copyFile(`src${sep}app-Bridging-Header.h`, `src${sep}app-Bridging-Header.h`);
api.copyFile(`src${sep}app.swift`, `src${sep}app.swift`, data);
api.copyFile(`src${sep}app.swift`, `src${sep}app.swift`);
};

View File

@ -18,6 +18,8 @@
# File author: Stefano D'Angelo
#
SHELL := bash -o pipefail
TEMPLATE := lv2
include vars.mk

View File

@ -24,7 +24,7 @@ build/web/index.html: $(DATA_DIR)/src/index.html | build/web
build/web/key.pem: build/web/cert.pem
build/web/cert.pem: | build
yes "" | openssl req -x509 -newkey rsa:2048 -keyout build/web/key.pem -out build/web/cert.pem -days 365 -nodes 2>/dev/null
openssl req -x509 -newkey rsa:2048 -keyout build/web/key.pem -out build/web/cert.pem -days 365 -nodes -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" 2>/dev/null
strip-web-demo: build/web/index.html
$(eval TMP := $(shell mktemp /tmp/index.XXXXXX))

View File

@ -18,6 +18,8 @@
# File author: Stefano D'Angelo
#
SHELL := bash -o pipefail
TEMPLATE := web
include vars.mk