on 63243ca help sign in
23 lines 725 B history raw
1module Elm.Internal.Paths where
3import System.IO.Unsafe
4import qualified Paths_Elm as This
6-- |Name of directory for all of a project's dependencies.
7dependencyDirectory :: FilePath
8dependencyDirectory = "elm_dependencies"
10-- |Name of the dependency file, specifying dependencies and
11-- other metadata for building and sharing projects.
12dependencyFile :: FilePath
13dependencyFile = "elm_dependencies.json"
15{-# NOINLINE runtime #-}
16-- |The absolute path to Elm's runtime system.
17runtime :: FilePath
18runtime = unsafePerformIO $ This.getDataFileName "elm-runtime.js"
20{-# NOINLINE docs #-}
21-- |The absolute path to Elm's core library documentation.
22docs :: FilePath
23docs = unsafePerformIO $ This.getDataFileName "docs.json"