on master help sign in
Improve Elm.Utils.getAssets docs

Fix #1005

commitbc4825d7b5b5d1b64fee5c9032847fd12161b4fe authorEvan Czaplicki <info@elm-lang.org> dateMon 3 Aug 2015, 11:54 (11 years ago) parent60057ca
1 file changed+2
src/Elm/Utils.hs+2
src/Elm/Utils.hs+2
@@ -95,6 +95,8 @@ missingExe command =
9595-- GET STATIC ASSETS
9696
9797{-| 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.
98100-}
99101getAsset :: String -> (FilePath -> IO FilePath) -> FilePath -> IO FilePath
100102getAsset project getDataFileName name =