mirror of
https://github.com/dnote/dnote
synced 2026-03-18 00:09:56 +01:00
* Display version in settings * Fix placeholder * Fix button size * Fix time format * Add support link * Add license
19 lines
452 B
Bash
Executable file
19 lines
452 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# build.sh builds a production bundle
|
|
set -eux
|
|
|
|
basePath="$GOPATH/src/github.com/dnote/dnote"
|
|
publicPath="$basePath/web/public"
|
|
compiledPath="$basePath/web/compiled"
|
|
|
|
bundleBaseUrl="/static"
|
|
assetBaseUrl="/static"
|
|
rootUrl=""
|
|
|
|
BUNDLE_BASE_URL="$bundleBaseUrl" \
|
|
ASSET_BASE_URL="$assetBaseUrl" \
|
|
ROOT_URL="$rootUrl" \
|
|
PUBLIC_PATH="$publicPath" \
|
|
COMPILED_PATH="$compiledPath" \
|
|
VERSION="$VERSION" \
|
|
"$basePath"/web/scripts/build.sh
|