mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-27 20:36:07 +03:00
web: simplify support files layout, look for them in ./.hledger/web/
This commit is contained in:
parent
4e0df9daa8
commit
8dd52decb2
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 309 B |
BIN
hledger-web/.hledger/web/favicon.ico
Normal file
BIN
hledger-web/.hledger/web/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@ -79,13 +79,13 @@ robots_txt = "User-agent: *"
|
||||
-- XXX hard-coded data directory path. This must be in your current dir
|
||||
-- when you run or compile hledger-web.
|
||||
datadir :: FilePath
|
||||
datadir = "data"
|
||||
datadir = ".hledger"
|
||||
|
||||
staticdir :: FilePath
|
||||
staticdir = datadir ++ "/static"
|
||||
staticdir = datadir ++ "/web"
|
||||
|
||||
templatesdir :: FilePath
|
||||
templatesdir = datadir ++ "/templates"
|
||||
templatesdir = datadir ++ "/web"
|
||||
|
||||
-- The following are compile-time macros. If the file paths they point to
|
||||
-- don't exist, they will give an error (at compile time). In production
|
||||
|
@ -14,7 +14,7 @@ stability: alpha
|
||||
tested-with: GHC==6.12
|
||||
cabal-version: >= 1.6
|
||||
build-type: Simple
|
||||
data-dir: data
|
||||
data-dir: .hledger
|
||||
data-files:
|
||||
static/style.css
|
||||
static/hledger.js
|
||||
|
Loading…
Reference in New Issue
Block a user