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 | -- XXX hard-coded data directory path. This must be in your current dir | ||||||
| -- when you run or compile hledger-web. | -- when you run or compile hledger-web. | ||||||
| datadir :: FilePath | datadir :: FilePath | ||||||
| datadir = "data" | datadir = ".hledger" | ||||||
| 
 | 
 | ||||||
| staticdir :: FilePath | staticdir :: FilePath | ||||||
| staticdir = datadir ++ "/static" | staticdir = datadir ++ "/web" | ||||||
| 
 | 
 | ||||||
| templatesdir :: FilePath | templatesdir :: FilePath | ||||||
| templatesdir = datadir ++ "/templates" | templatesdir = datadir ++ "/web" | ||||||
| 
 | 
 | ||||||
| -- The following are compile-time macros. If the file paths they point to | -- 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 | -- don't exist, they will give an error (at compile time). In production | ||||||
|  | |||||||
| @ -14,7 +14,7 @@ stability:      alpha | |||||||
| tested-with:    GHC==6.12 | tested-with:    GHC==6.12 | ||||||
| cabal-version:  >= 1.6 | cabal-version:  >= 1.6 | ||||||
| build-type:     Simple | build-type:     Simple | ||||||
| data-dir:       data | data-dir:       .hledger | ||||||
| data-files: | data-files: | ||||||
|                 static/style.css |                 static/style.css | ||||||
|                 static/hledger.js |                 static/hledger.js | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user