feat: automate generation for universal link files

This commit is contained in:
Rainer Killinger
2022-08-26 12:02:29 +02:00
parent e9bedb78c6
commit 9ad402842d
3 changed files with 62 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
SHELL := /bin/bash
APP_DIR := $(PWD)/app
BRANCH ?= develop
START_TIME := $(date +%s)
clean:
rm -rf app
@@ -27,6 +28,7 @@ web-build: configuration-web
cd app && ionic build --prod
web: web-build
mkdir -p app/www/.well-known && source app.conf && sh static/scripts/universal_link_files.sh
cd app/www && zip -r ../../www.zip .
echo "Web application artifact for version ${VERSION} is archived in www.zip"