diff options
| author | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
|---|---|---|
| committer | john.j.camilleri <john.j.camilleri@chalmers.se> | 2013-09-16 07:17:27 +0000 |
| commit | f5461eb3d4eb2605b546a4ed202c12bcdaa1f4e4 (patch) | |
| tree | 946c9e8542b8e8271b6b529a95c0400fa6613cb4 /WebSetup.hs | |
| parent | 8e1c6cca407c82fc09569d80c231b8d256735989 (diff) | |
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
Diffstat (limited to 'WebSetup.hs')
| -rw-r--r-- | WebSetup.hs | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/WebSetup.hs b/WebSetup.hs index 23a41fe22..84265bf8e 100644 --- a/WebSetup.hs +++ b/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] |
