on master help sign in
Improve Elm.Utils.getAssets docs
bc4825dEvan Czaplicki
src/Elm/Utils.hs+2
@@ -95,6 +95,8 @@ missingExe command =
95-- GET STATIC ASSETS
95-- GET STATIC ASSETS
96
96
97{-| Get the absolute path to a data file. If you install with cabal it will look
97{-| Get the absolute path to a data file. If you install with cabal it will look
98+in a directory generated by cabal. If that is not found, it will look for the
99+directory pointed to by the environment variable ELM_HOME.
98-}
100-}
99getAsset :: String -> (FilePath -> IO FilePath) -> FilePath -> IO FilePath
101getAsset :: String -> (FilePath -> IO FilePath) -> FilePath -> IO FilePath
100getAsset project getDataFileName name =
102getAsset project getDataFileName name =