mirror of
https://git.mills.io/prologic/zs
synced 2025-04-03 21:33:33 +03:00
14 lines
274 B
Bash
Executable file
14 lines
274 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
JS="highlight main"
|
|
|
|
# Load live.js for non-production builds for faster development
|
|
if [ -z "$ZS_PRODUCTION" ]; then
|
|
JS="$JS live"
|
|
fi
|
|
|
|
for js in $JS; do
|
|
printf "<script type=\"application/javascript\" src=\"/assets/js/%s.js\"></script>\n" "$js"
|
|
done
|