integrated haskell backend with elm-street
This commit is contained in:
parent
c86f613ccc
commit
d6d84423e0
12 changed files with 573 additions and 273 deletions
23
justfile
23
justfile
|
@ -1,20 +1,17 @@
|
|||
help:
|
||||
echo compile builds both ends
|
||||
echo produce builds, minifies, optimises both ends
|
||||
echo run produces before executing the result
|
||||
echo elm builds the elm
|
||||
echo haskell builds the haskell
|
||||
echo format-elm formats the elm
|
||||
echo produce-elm builds, minifies, optimises the elm
|
||||
|
||||
compile: elm haskell
|
||||
|
||||
produce: produce-elm haskell
|
||||
echo "REMEMBER to RESTART elmskell.service TO UPDATE SITE IN PLACE"
|
||||
echo "REMEMBER to RUN sudo iptables-apply -t 60 /etc/iptables/iptables.rules IF YOU HAVEN'T SINCE RESTART"
|
||||
|
||||
run: produce
|
||||
stack exec ~/.local/bin/hs-server-exe
|
||||
types: haskell
|
||||
rm -rf frontend/src/ElmskellTypes/Generated
|
||||
stack exec ~/.local/bin/hs-server-exe
|
||||
|
||||
compile: elm haskell
|
||||
|
||||
run: produce exec
|
||||
|
||||
exec:
|
||||
stack exec ~/.local/bin/hs-server-exe
|
||||
|
||||
haskell:
|
||||
cd backend && stack install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue