mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-15 15:59:32 -06:00
Remove GF.Today and use the autogenerated Paths_gf from Cabal
This commit is contained in:
1
GF.cabal
1
GF.cabal
@@ -118,7 +118,6 @@ executable gf3
|
||||
GF.Grammar.Predef
|
||||
GF.Data.Str
|
||||
GF.Data.Zipper
|
||||
GF.Today
|
||||
GF.Infra.Option
|
||||
GF.Infra.UseIO
|
||||
GF.GFCC.GFCCtoJS
|
||||
|
||||
@@ -17,7 +17,7 @@ module GF.Infra.UseIO where
|
||||
|
||||
import GF.Data.Operations
|
||||
import GF.Infra.Option
|
||||
import GF.Today (libdir)
|
||||
import Paths_gf(getDataDir)
|
||||
|
||||
import System.Directory
|
||||
import System.FilePath
|
||||
@@ -114,7 +114,7 @@ getLibraryPath =
|
||||
let (path,_) = splitFileName exepath
|
||||
canonicalizePath (combine path "../lib"))
|
||||
#else
|
||||
(const (return libdir))
|
||||
(const getDataDir)
|
||||
#endif
|
||||
|
||||
-- | extends the search path with the
|
||||
|
||||
Reference in New Issue
Block a user