Skip to content

Commit

Permalink
refactor file structure
Browse files Browse the repository at this point in the history
keks committed Feb 22, 2024
1 parent 6c0c6ef commit afe9834
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-html.yml
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ jobs:
- name: build html file
run: |
mkdir _site
dhall text <generate.dhall >_site/index.html
dhall text --file views/dashboard.dhall >_site/index.html
chmod 644 _site/index.html
chmod 755 _site
File renamed without changes.
4 changes: 2 additions & 2 deletions html.dhall → utils/html.dhall
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ let Prelude =
https://prelude.dhall-lang.org/v22.0.0/package.dhall
sha256:1c7622fdc868fe3a23462df3e6f533e50fdc12ecf3b42c0bb45c328ec8c4293e

let Types = ./types.dhall
let Types = ../types.dhall

let XML = Prelude.XML

@@ -193,7 +193,7 @@ let outerTemplate
, XML.element
{ name = "style"
, attributes = [ XML.attribute "type" "text/css" ]
, content = [ XML.rawText ./axist.css as Text ]
, content = [ XML.rawText ../assets/axist.css as Text ]
}
]
}
6 changes: 3 additions & 3 deletions generate.dhall → views/dashboard.dhall
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@ let Prelude =
https://prelude.dhall-lang.org/v22.0.0/package.dhall
sha256:1c7622fdc868fe3a23462df3e6f533e50fdc12ecf3b42c0bb45c328ec8c4293e

let Types = ./types.dhall
let Types = ../types.dhall

let CheckSets = ./checksets.dhall
let CheckSets = ../checksets.dhall

let Html = ./html.dhall
let Html = ../utils/html.dhall

let XML = Prelude.XML

0 comments on commit afe9834

Please sign in to comment.