Sha256: e996d69da5eceea24ae1b30e2fd51737f957a3bc92eee8ad25d1946ae6b88c90

Contents?: true

Size: 426 Bytes

Versions: 26

Compression:

Stored size: 426 Bytes

Contents

#!/bin/sh

CURRENT_DIR=${PWD}

# build the frontend app
mkdir -p tmp
cd tmp
git clone https://github.com/ninoseki/mihari-frontend.git
cd mihari-frontend
npm install
npm run build

cp -r dist/* ${CURRENT_DIR}/lib/mihari/web/public

# replace favicon path
sed -i "" 's/href="\/favicon.ico"/href="\/static\/favicon.ico"/' ${CURRENT_DIR}/lib/mihari/web/public/index.html

# remove tmp dir
rm -rf ${CURRENT_DIR}/tmp/mihari-frontend

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
mihari-4.4.0 build_frontend.sh
mihari-4.3.0 build_frontend.sh
mihari-4.2.0 build_frontend.sh
mihari-4.1.2 build_frontend.sh
mihari-4.1.1 build_frontend.sh
mihari-4.1.0 build_frontend.sh
mihari-4.0.0 build_frontend.sh
mihari-3.12.0 build_frontend.sh
mihari-3.11.0 build_frontend.sh
mihari-3.10.1 build_frontend.sh
mihari-3.10.0 build_frontend.sh
mihari-3.9.2 build_frontend.sh
mihari-3.9.1 build_frontend.sh
mihari-3.9.0 build_frontend.sh
mihari-3.8.1 build_frontend.sh
mihari-3.8.0 build_frontend.sh
mihari-3.7.2 build_frontend.sh
mihari-3.7.1 build_frontend.sh
mihari-3.7.0 build_frontend.sh
mihari-3.6.1 build_frontend.sh