Commit 29069cdd authored by Henrik Tramberend's avatar Henrik Tramberend
Browse files

Fix runtime resource reference in meta data

parent 9a598c97
......@@ -51,7 +51,7 @@ main = do
let indexA = return [index] :: Action [FilePath]
let everythingA = decksA <++> handoutsA <++> pagesA
let everythingPdfA = decksPdfA <++> handoutsPdfA <++> pagesPdfA
let cruft = ["index.md.generated", "log/", "//.shake/", "generated/"]
let cruft = ["index.md.generated", "log", "//.shake", "generated"]
context <- makeActionContext dirs
runShakeInContext context options $
--
......
set samples 20, 20
set isosamples 20, 20
set hidden3d back offset 1 trianglepattern 3 undefined 1 altdiagonal bentover
set style data lines
set xrange [ -3.00000 : 3.00000 ] noreverse nowriteback
set yrange [ -2.00000 : 2.00000 ] noreverse nowriteback
DEBUG_TERM_HTIC = 119
DEBUG_TERM_VTIC = 118
splot 1 / (x*x + y*y + 2)
\ No newline at end of file
This diff is collapsed.
set samples 20, 20
set isosamples 20, 20
set hidden3d back offset 1 trianglepattern 3 undefined 1 altdiagonal bentover
set style data lines
set xrange [ -3.00000 : 3.00000 ] noreverse nowriteback
set yrange [ -2.00000 : 2.00000 ] noreverse nowriteback
DEBUG_TERM_HTIC = 119
DEBUG_TERM_VTIC = 118
splot 1 / (x*x + y*y + 1)
\ No newline at end of file
This diff is collapsed.
......@@ -233,8 +233,9 @@ lookupBool key def meta =
provisionMetaResource ::
Provisioning -> FilePath -> (String, FilePath) -> Action FilePath
provisionMetaResource method base (key, path)
| key `elem` runtimeMetaKeys =
provisionResource method base path
| key `elem` runtimeMetaKeys = do
filePath <- urlToFilePathIfLocal base path
provisionResource method base filePath
provisionMetaResource method base (key, path)
| key `elem` compiletimeMetaKeys = do
filePath <- urlToFilePathIfLocal base path
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment