working with some script to handle rebuild
This commit is contained in:
parent
0384cfe849
commit
88650349c2
7 changed files with 8102 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{-# LANGUAGE NoImplicitPrelude #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
module Lib
|
||||
module Solaryzed
|
||||
( genPalette
|
||||
, paletteLabels
|
||||
, genExtendedPalette
|
2
ui/.gitignore
vendored
2
ui/.gitignore
vendored
|
@ -8,3 +8,5 @@
|
|||
/.purs*
|
||||
/.psa*
|
||||
/.spago
|
||||
.cache
|
||||
dist
|
||||
|
|
8082
ui/assets/app.js
Normal file
8082
ui/assets/app.js
Normal file
File diff suppressed because it is too large
Load diff
10
ui/assets/index.html
Normal file
10
ui/assets/index.html
Normal 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
3
ui/build.sh
Normal 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
3
ui/dev.sh
Executable 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
|
Loading…
Reference in a new issue