mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
Remove contribs and examples
Everything has now been moved to a separate repository at https://github.com/GrammaticalFramework/gf-contrib The contents of the examples folder are build during SetupWeb
This commit is contained in:
13
WebSetup.hs
13
WebSetup.hs
@@ -16,14 +16,21 @@ import Distribution.Simple.LocalBuildInfo(datadir,buildDir,absoluteInstallDirs)
|
||||
-}
|
||||
|
||||
example_grammars = -- :: [(pgf, tmp, src)]
|
||||
[("Foods.pgf","foods",foodsSrc),
|
||||
("Letter.pgf","letter",letterSrc)]
|
||||
[("Foods.pgf","foods",foodsSrc)
|
||||
,("Phrasebook.pgf","phrasebook",phrasebookSrc)
|
||||
,("Letter.pgf","letter",letterSrc)
|
||||
]
|
||||
where
|
||||
foodsDir ="contrib"</>"summerschool"</>"foods"
|
||||
foodsDir ="examples"</>"foods"
|
||||
--foodsSrc = foodsDir</>"Foods???.gf" -- doesn't work on Win32
|
||||
foodsSrc = unwords [foodsDir</>"Foods"++lang++".gf"|lang<-foodsLangs]
|
||||
foodsLangs = words "Afr Amh Bul Cat Cze Dut Eng Epo Fin Fre Ger Gle Heb Hin Ice Ita Jpn Lav Mlt Mon Nep Pes Por Ron Spa Swe Tha Tsn Tur Urd"
|
||||
|
||||
phrasebookDir ="examples"</>"phrasebook"
|
||||
--phrasebookSrc = phrasebookDir</>"Phrasebook???.gf" -- doesn't work on Win32
|
||||
phrasebookSrc = unwords [phrasebookDir</>"Phrasebook"++lang++".gf"|lang<-phrasebookLangs]
|
||||
phrasebookLangs = words "Bul Cat Dan Dut Eng Hin Lav Nor Spa Swe Tha" -- only fastish languages
|
||||
|
||||
letterDir = "examples"</>"letter"
|
||||
--letterSrc = letterDir</>"Letter???.gf"
|
||||
letterSrc = unwords [letterDir</>"Letter"++lang++".gf"|lang<-letterLangs]
|
||||
|
||||
Reference in New Issue
Block a user