24 lines
749 B
Haskell
24 lines
749 B
Haskell
{-# OPTIONS_GHC -Wall #-}
|
|
module Elm.Internal.Paths where
|
|
|
|
import Build.Utils (getDataFile)
|
|
import System.IO.Unsafe (unsafePerformIO)
|
|
|
|
-- |Name of directory for all of a project's dependencies.
|
|
dependencyDirectory :: FilePath
|
|
dependencyDirectory = "elm_dependencies"
|
|
|
|
-- |Name of the dependency file, specifying dependencies and
|
|
-- other metadata for building and sharing projects.
|
|
dependencyFile :: FilePath
|
|
dependencyFile = "elm_dependencies.json"
|
|
|
|
{-# NOINLINE runtime #-}
|
|
-- |The absolute path to Elm's runtime system.
|
|
runtime :: FilePath
|
|
runtime = unsafePerformIO $ getDataFile "elm-runtime.js"
|
|
|
|
{-# NOINLINE docs #-}
|
|
-- |The absolute path to Elm's core library documentation.
|
|
docs :: FilePath
|
|
docs = unsafePerformIO $ getDataFile "docs.json"
|