mirror of
https://github.com/dnote/dnote
synced 2026-03-18 08:19:55 +01:00
* Allow to add and edit notes * Implement search * Implement settings * Implement checkout page * Implement paywall * Fix inconsistent margin * Render mobile menu * Allow to logout * emails * Implement user migration * Always build standalone * Embed digest in email * Move browser extension * Fix test * Use system font * Add favicon and app icons * Make tabbar smaller * Initialize focus on editor * Fix various UI audit issues * Simplify asset serving * Register sw * Upgrade deps
18 lines
393 B
Bash
Executable file
18 lines
393 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"
|
|
|
|
baseUrl=""
|
|
assetBaseUrl=""
|
|
rootUrl=""
|
|
|
|
BUNDLE_BASE_URL=$baseUrl \
|
|
ASSET_BASE_URL=$assetBaseUrl \
|
|
ROOT_URL=$rootUrl \
|
|
PUBLIC_PATH=$publicPath \
|
|
COMPILED_PATH=$compiledPath \
|
|
"$basePath"/web/scripts/build.sh
|