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