use shell pipefail in makefiles
This commit is contained in:
parent
bb9d68c633
commit
9a86ef2de8
@ -18,6 +18,8 @@
|
|||||||
# File author: Stefano D'Angelo
|
# File author: Stefano D'Angelo
|
||||||
#
|
#
|
||||||
|
|
||||||
|
SHELL := bash -o pipefail
|
||||||
|
|
||||||
TEMPLATE := android
|
TEMPLATE := android
|
||||||
|
|
||||||
include vars.mk
|
include vars.mk
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
# File author: Stefano D'Angelo
|
# File author: Stefano D'Angelo
|
||||||
#
|
#
|
||||||
|
|
||||||
|
SHELL := bash -o pipefail
|
||||||
|
|
||||||
TEMPLATE := cmd
|
TEMPLATE := cmd
|
||||||
|
|
||||||
include vars.mk
|
include vars.mk
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
# File author: Stefano D'Angelo
|
# File author: Stefano D'Angelo
|
||||||
#
|
#
|
||||||
|
|
||||||
|
SHELL := bash -o pipefail
|
||||||
|
|
||||||
TEMPLATE := daisy-seed
|
TEMPLATE := daisy-seed
|
||||||
|
|
||||||
include vars.mk
|
include vars.mk
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
# File author: Stefano D'Angelo
|
# File author: Stefano D'Angelo
|
||||||
#
|
#
|
||||||
|
|
||||||
|
SHELL := bash -o pipefail
|
||||||
|
|
||||||
TEMPLATE := ios
|
TEMPLATE := ios
|
||||||
|
|
||||||
include vars.mk
|
include vars.mk
|
||||||
|
@ -26,5 +26,5 @@ module.exports = function (data, api) {
|
|||||||
api.generateFileFromTemplateFile(`src${sep}index.html`, `src${sep}index.html`, data);
|
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}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-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`);
|
||||||
};
|
};
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
# File author: Stefano D'Angelo
|
# File author: Stefano D'Angelo
|
||||||
#
|
#
|
||||||
|
|
||||||
|
SHELL := bash -o pipefail
|
||||||
|
|
||||||
TEMPLATE := lv2
|
TEMPLATE := lv2
|
||||||
|
|
||||||
include vars.mk
|
include vars.mk
|
||||||
|
@ -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/key.pem: build/web/cert.pem
|
||||||
|
|
||||||
build/web/cert.pem: | build
|
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
|
strip-web-demo: build/web/index.html
|
||||||
$(eval TMP := $(shell mktemp /tmp/index.XXXXXX))
|
$(eval TMP := $(shell mktemp /tmp/index.XXXXXX))
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
# File author: Stefano D'Angelo
|
# File author: Stefano D'Angelo
|
||||||
#
|
#
|
||||||
|
|
||||||
|
SHELL := bash -o pipefail
|
||||||
|
|
||||||
TEMPLATE := web
|
TEMPLATE := web
|
||||||
|
|
||||||
include vars.mk
|
include vars.mk
|
||||||
|
Loading…
Reference in New Issue
Block a user