working with some script to handle rebuild

This commit is contained in:
Yann Esposito (Yogsototh) 2019-10-29 14:46:13 +01:00
parent 0384cfe849
commit 88650349c2
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
7 changed files with 8102 additions and 2 deletions

View file

@ -11,7 +11,7 @@ import qualified Data.Text.Lazy.IO as LazyIO
import qualified Data.Text.Lazy as LazyText
import System.Environment (getArgs)
import Lib
import Solaryzed
main :: IO ()
main = do

View file

@ -1,6 +1,6 @@
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module Lib
module Solaryzed
( genPalette
, paletteLabels
, genExtendedPalette

2
ui/.gitignore vendored
View file

@ -8,3 +8,5 @@
/.purs*
/.psa*
/.spago
.cache
dist

8082
ui/assets/app.js Normal file

File diff suppressed because it is too large Load diff

10
ui/assets/index.html Normal file
View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Solaryzed</title>
</head>
<body>
<script src="/app.js" charset="utf-8"></script>
</body>
</html>

3
ui/build.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/bash
spago bundle-app --main Main --to assets/app.js
parcel serve assets/index.html -o index--parelified.html --open

3
ui/dev.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
spago bundle-app --main Main --to assets/app.js --watch &
parcel serve assets/index.html -o index--parelified.html --open