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:
john.j.camilleri
2013-09-16 07:17:27 +00:00
parent 8e1c6cca40
commit f5461eb3d4
816 changed files with 14 additions and 410648 deletions

View File

@@ -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]