#!/bin/sh # ipxreader.app: the page and its stylesheet, and the typeface, logo and icon from web/, into # site/dist, which Cloudflare Pages serves. set -e here=$(dirname "$0") rm -rf "$here/dist" mkdir -p "$here/dist/fonts" cp "$here/index.html" "$here/site.css" "$here/_headers" "$here/dist/" # The reader's own typeface, the same file ipx-web serves. cp "$here/../web/InterVariable.woff2" "$here/dist/fonts/inter.woff2" cp "$here/../web/logo.svg" "$here/../web/favicon.png" "$here/dist/" cp -r "$here/shots" "$here/dist/"