Replacing dash in static files

This commit is contained in:
Michael Snoyman 2010-06-16 08:46:49 +03:00
parent 8101113505
commit 08ad4709c0

View File

@ -110,6 +110,7 @@ staticFiles fp = do
concat `fmap` mapM go fs
where
replace' '.' = '_'
replace' '-' = '_'
replace' c = c
go f = do
let name = mkName $ intercalate "_" $ map (map replace') f