feat: add main command feat: add todos feat: add signup api feat: do not repeat code fix: user return feat: work out static box fix: setup static handlers feat: add share types License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com> feat: start static License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com> feat: bring back more features License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com> add feat: readd more files License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com> feat: add dockerignore License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com> feat: gitignore License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com> feat: readd submodule License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
24 lines
344 B
Bash
24 lines
344 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
# Clean the dist folder and build the assets
|
|
cd frontend
|
|
if [ -d "dist" ]; then
|
|
rm -rf dist/*
|
|
fi;
|
|
yarn install
|
|
yarn build
|
|
cd ..
|
|
|
|
# Install rice tool if not present
|
|
if ! [ -x "$(command -v rice)" ]; then
|
|
go get github.com/GeertJohan/go.rice/rice
|
|
fi
|
|
|
|
# Embed the assets using rice
|
|
cd lib
|
|
rice embed-go
|