dnote/web/scripts/webpack-dev.sh
Sung Won Cho 5902585216
Allow to specify repetition rule (#280)
* Implement data model and basic UI for repetition rules

* Implement tooltip

* Allow to update and write test

* Stop processing the first repetition until having waited at least the frequency amount

* Set up email dev server reload

* Test pro only

* Allow to toggle repetition using token

* Remove unused

* Add last active

* Simplify nextActive calculation

* Create weekly digest repetition rules for existing users

* Fix style

* Fix link

* Create default repetition rule upon signup

* Get notes with thresholds

* Fix test

* Fix test
2019-10-28 00:34:59 -07:00

25 lines
602 B
Bash
Executable file

#!/usr/bin/env bash
set -eux
basePath="$GOPATH/src/github.com/dnote/dnote"
appPath="$basePath"/web
(
cd "$appPath" &&
PUBLIC_PATH=$PUBLIC_PATH \
COMPILED_PATH=$COMPILED_PATH \
ASSET_BASE_URL=$ASSET_BASE_URL \
"$appPath"/scripts/setup.sh &&
BUNDLE_BASE_URL=$BUNDLE_BASE_URL
ASSET_BASE_URL=$ASSET_BASE_URL \
COMPILED_PATH=$COMPILED_PATH \
PUBLIC_PATH=$PUBLIC_PATH \
IS_TEST=true \
node "$appPath"/scripts/placeholder.js &&
ROOT_URL=$ROOT_URL \
"$appPath"/node_modules/.bin/webpack-dev-server\
--env.isTest="$IS_TEST"\
--config "$appPath"/webpack/dev.config.js
)