Commit Graph
100 Commits
Author SHA1 Message Date
John J. Camilleri 5dde3189e3 Change elve to elleve in both Norwegians 2022-09-15 15:54:47 +02:00
John J. Camilleri e85efec7a5 Do not copy when dest==dist in Setup.sh 2021-08-20 14:04:29 +02:00
John J. Camilleri 431ff47824 Setup.sh: don't build Symbol if Try is false
This was uncovered by recent changes to Somali in 1131058b,
which built with Setup.hs but failed with Setup.sh
2021-04-26 08:54:58 +02:00
John J. Camilleri 6740b37cfc Remove build status badge from README
The GitHub interface now provides much richer information about build status.
2020-11-30 22:03:56 +01:00
John J. Camilleri 4c330b7d62 Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl 2020-11-30 20:58:05 +01:00
John J. Camilleri 2f3146441b Makefile now works with: global runghc, stack-only runghc, and falls back to shell script. 2020-11-27 00:47:09 +01:00
John J. Camilleri eeec3d998e Merge branch 'build-action' 2020-11-14 17:20:44 +01:00
John J. Camilleri 519a31e88a Change build workflow to take care of creating entire release 2020-11-14 17:19:00 +01:00
John J. Camilleri aa3b6648f3 Get SHA from github context, not environment 2020-11-11 22:11:16 +01:00
John J. Camilleri 2d102d2549 Don't archive files first, give a name to artifact 2020-11-11 22:08:15 +01:00
John J. Camilleri 7505813fa5 Must make dest directory before copying to it 2020-11-11 21:58:45 +01:00
John J. Camilleri 6cedca7f4f dest cannot be same as dist 2020-11-11 21:50:16 +01:00
John J. Camilleri dd102142f5 Specify --gf flag properly. Compress and upload artifact. 2020-11-11 21:43:46 +01:00
John J. Camilleri aa8840b61b Add sudo to dpkg command 2020-11-11 21:38:27 +01:00
John J. Camilleri 33d7b7173e Add build workflow 2020-11-11 21:37:12 +01:00
John J. Camilleri b422417d4b Normalise some whitespace
Can you believe some joker actually mixed tabs and spaces?
2020-09-11 16:09:03 +02:00
John J. Camilleri e199fbbb0c (Bul) Change encodings from CP1251 to UTF8 (#343) 2020-06-17 09:17:56 +02:00
John J. Camilleri 4fc26369b8 (Cgg) Remove executable file permissions 2020-05-27 16:38:21 +02:00
John J. Camilleri 26373e16d8 (Cze): Remove "??" from Adjective paradigm 2020-05-20 10:24:24 +02:00
John J. Camilleri 344b91c68f Reverse changes to Setup.bat from aa1b97a. Also add Cze, Hun, Slo. 2020-05-05 11:31:57 +02:00
John J. Camilleri dbe7264371 Add Slovak to languages.csv 2020-04-30 22:13:44 +02:00
John J. Camilleri 1585171fd2 Merge branch 'master' of github.com:GrammaticalFramework/gf-rgl
# Conflicts:
#	src/czech/NumeralCze.gf
2020-04-30 11:48:16 +02:00
John J. Camilleri 4f8922f030 (Cze) Only inherit relevant cats in NumeralCze 2020-04-30 11:46:47 +02:00
John J. Camilleri 219b3a2c01 (Cze) Remove calls to Predef.error and just do something stupid instead. 2020-04-29 15:05:24 +02:00
John J. Camilleri 0d379dbf3a Update languages.csv to build Czech 2020-04-28 14:25:38 +02:00
John J. Camilleri 2d3d382a41 unittest: create README.md as main documentation 2019-08-05 10:57:26 +02:00
John J. Camilleri b3b2b219e8 Update link to RGL tutorial (now HTML version) 2019-05-20 10:36:00 +02:00
John J. Camilleri 4838a59d20 Update RG tutorial to render well with update_html from gf-core 2019-05-20 10:10:11 +02:00
John J. Camilleri e61670dce2 Bulletise language info 2019-01-03 13:48:57 +01:00
John J. Camilleri 36d3d4b34c Add README for Maltese, as a starting point for establishing the practice 2019-01-03 13:46:47 +01:00
John J. Camilleri 2946e6bca1 Fix some invalid HTML in synopsis 2018-12-08 14:07:31 +01:00
John J. Camilleri a009c31606 Update hardcoded links in synopsis intro
When new languages are added, the links from chapter 4 onwards need to be incremented
2018-12-06 08:48:49 +01:00
John J. Camilleri e66c27a4da Add a few HTML files to gitignore 2018-12-03 15:39:38 +01:00
John J. Camilleri f48c8c6149 Put GF logo on the right again 2018-12-03 15:28:13 +01:00
John J. Camilleri 99bc5be071 Updated sidebat in synopsis page
- toggleable
- overlay content at narrow widths
- right of page
- background & border
2018-12-03 10:40:00 +01:00
John J. Camilleri d63311c65c Add link to new RGL Browser in synopsis 2018-12-02 09:17:16 +01:00
John J. Camilleri dfee47ca81 Include FontAwesome icons in template 2018-11-29 13:06:02 +01:00
John J. Camilleri 726d5972d6 Update LICENSE 2018-11-28 14:40:47 +01:00
John J. Camilleri 92f7dbc80e Batch build script also looks in ../gf-core/DATA_DIR 2018-11-26 15:35:44 +01:00
John J. Camilleri 4a85289597 Batch build script handles multiple paths in GF_LIB_PATH (picks first) 2018-11-26 15:19:05 +01:00
John J. Camilleri 28bc19f09c Haskell/Shell build scripts handle multiple paths in GF_LIB_PATH (pick first)
Not implemented for Batch
2018-11-26 11:02:40 +01:00
John J. Camilleri 942dd3ace8 Add column numbers in README 2018-11-14 10:04:54 +01:00
John J. Camilleri eae5f7b723 Language list in synopsis is dynamically generated from languages.csv 2018-11-13 23:00:43 +01:00
John J. Camilleri 7abc12bbd5 Merge branch 'master' into new-website 2018-11-13 22:44:30 +01:00
John J. Camilleri f0065986a6 Add column for language name in languages.csv
This will be used for listing languages in Synopsis
2018-11-13 22:44:13 +01:00
John J. Camilleri cd4b482f0f Tweaks to synopsis 2018-11-13 22:30:29 +01:00
John J. Camilleri 67cb6bae12 Add some type signatures 2018-11-13 22:29:56 +01:00
John J. Camilleri c10de77e9b Remove extra duplicate LParadigms anchors 2018-11-13 22:10:38 +01:00
John J. Camilleri 6e52b85b92 Remove refs to synopsis-3.9 2018-11-13 21:49:56 +01:00
John J. Camilleri 7acbd54f2d Make HTML template a bit more generic 2018-11-13 21:46:28 +01:00
John J. Camilleri 20efc48e21 Fix making of "sources.html"
Uses same template as synopsis, maybe this shoudl be generalised a bit
2018-11-13 09:50:10 +01:00
John J. Camilleri b2545333ba Fix category imagemap in synopsis by splicing in final html 2018-11-13 09:38:39 +01:00
John J. Camilleri 2875730224 Fix tables, clean popups.
Imagemap on categories is now broken, need to see how to fix
2018-11-12 15:07:00 +01:00
John J. Camilleri 74384044c9 Move everything related to synopsis into subfolder
Clean up some unused and generated files
2018-11-12 10:05:42 +01:00
John J. Camilleri 3ac2bcc8af Quicklinks in synopsis as fixed side menu 2018-11-10 20:14:25 +01:00
John J. Camilleri ec9753e7b5 Use Pandoc and introduce HTML template for synopsis
- Remove isLatex flag
- Plan to convert to Markdown and simply format
2018-11-09 09:08:30 +01:00
John J. Camilleri 36b827bcc2 Clarify default values of columns in languages.csv 2018-11-07 13:19:54 +01:00
John J. Camilleri 6e8f92a9c5 Remove generated categories-imagemap.html from version control
There are many other things which should not be under version control...
2018-11-06 10:37:54 +01:00
John J. Camilleri ec9f74d56e Add "Synopsis" column to languages.csv; use config everywhere
I tried to remove all language lists from Haskell and Makefiles
2018-11-06 10:32:25 +01:00
John J. Camilleri ef2c348d3a Make.bat: Collect modules in two stages
For some reason second inner loop was never reached,
this is a simple solution.

Also remove stderr redirection as it didn't seem to work.

--verbose now names each module individually
2018-11-05 21:09:07 +01:00
John J. Camilleri 17bc505382 Make.bat: fix copy command, create dest folders if not present 2018-11-05 19:29:35 +01:00
John J. Camilleri a170539991 More improvements to Make.bat
- Fix syntax error in args loop
- Building of modules list

Maybe it actually works now? 😱
2018-11-02 08:50:31 +01:00
John J. Camilleri 4b4a7ba9a4 Improvements to Make.bat
- Parsing of command line args
- Redirecting output
- mkdir only if not exists
- revert back to copy
2018-11-01 22:51:55 +01:00
John J. Camilleri 5172586aa8 Check GHC version instead of directory version
Explanation by Thomas Hallgren:

These MIN_VERSION macros are traditionally provided by Cabal, in dist/build/autogen/cabal_macros.h. It is only with ghc>=8.0 that ghc itself provides them, so with ghc<8, runghc Make.hs fails, as can be seen in the included message.

Incidentally, ghc-8.0.1 also comes with directory-1.3, so I suggest using

    #if __GLASGOW_HASKELL__>=800

instead. Then Make.hs will work with older versions of ghc, and set the modification times if you are using ghc>=8.0.
2018-10-31 11:10:05 +01:00
John J. Camilleri 62ea7c82a9 If directory < 1.2.3.0 then don't set modification times on copy 2018-10-31 09:13:52 +01:00
John J. Camilleri e30fa8933f Own definition of die for base < 4.8.0.0 2018-10-31 08:43:48 +01:00
John J. Camilleri 999cdb8e36 Copy files with only modification time rather than all metadata 2018-10-26 09:10:32 +02:00
John J. Camilleri 4ee5914c1c Merge branch 'patch-2' of https://github.com/odanoburu/gf-rgl into odanoburu-patch-2 2018-10-26 09:02:42 +02:00
John J. Camilleri 894c09d1b9 Only copy newer files (Make.bat)
Addresses #43 but not tested.
Reference: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb491035(v%3dtechnet.10)
2018-10-25 08:34:33 +02:00
John J. Camilleri 1862cb0559 Preserve metadata in copy (Make.sh)
Addresses #43 but I'm not 100% convinced it makes any difference.
2018-10-25 08:28:29 +02:00
John J. Camilleri 0fe46a6d17 Change shebang to /bin/bash 2018-08-10 08:33:01 +02:00
John J. Camilleri 9d581b1d5e Fix note in README about default command 2018-08-10 08:31:02 +02:00
John J. Camilleri f0566a48dd Re-specify --gf-lib-path in Make.hs, seems to be needed sometimes 2018-08-09 10:19:48 +02:00
John J. Camilleri 73948e54a6 Make.sh: halt on error, skip non-existant files
Was trying to compile src/*/SymbolHeb.gf which doesn't exist
2018-08-09 10:05:10 +02:00
John J. Camilleri 60f19691eb --verbose flag shows file names, not passed on to GF 2018-08-09 09:52:41 +02:00
John J. Camilleri e73d42379c Make.hs: specifying --langs doesn't ignore module restrictions
As a result the `--langs=+...` function is no longer meaningful
2018-08-09 09:09:17 +02:00
John J. Camilleri 869721d0a5 Add Travis build status to README 2018-08-08 22:25:41 +02:00
John J. Camilleri faf66b4a88 Update Clone.hs to add copy api files and add language to config 2018-08-07 11:21:58 +02:00
John J. Camilleri 0130a0012d Better output when no files specified in Make.hs 2018-08-07 11:01:02 +02:00
John J. Camilleri 32647437ad Remove unneccessary --gf-lib-path, which could give misleading errors 2018-08-07 10:11:23 +02:00
John J. Camilleri b76d8512e4 Updade Make.sh to read languages.csv, more specific about what to compile 2018-08-07 10:06:12 +02:00
John J. Camilleri 1208cdf9bc Remove english/CompatibilityCat.gf
There's no reason why that should be there
2018-08-07 09:44:03 +02:00
John J. Camilleri d994208499 Cleanup Make.hs, remove 'parse' build command. 2018-08-07 08:41:45 +02:00
John J. Camilleri 557ae6da44 Factor out language config to CSV file
Compiles, not tested
2018-08-06 16:53:23 +02:00
John J. Camilleri 70297f6ac2 Add --verbose/-v switch to Make.hs 2018-08-06 10:29:42 +02:00
John J. Camilleri e44ab11609 copy copies everything from dist, not just specified modules
This was problematic when copying only a module and not its dependents.
2018-08-05 17:22:46 +02:00
John J. Camilleri 59672ef8ac Re-add argument checking in Make.hs 2018-08-04 18:44:16 +02:00
John J. Camilleri 8600112264 Search for module by name and do not require language folder 2018-08-04 18:40:40 +02:00
John J. Camilleri 7f5fae2031 Add support for building/copying individual modules in Make.hs
Particularly useful for ExtraEng, large monolingual dicts, etc.
2018-08-04 18:10:37 +02:00
John J. Camilleri cc8bb02489 Remove pgf build command 2018-08-04 16:27:20 +02:00
John J. Camilleri 19020167f7 First version of Make.bat, untested but basically complete 2018-07-30 15:58:36 +02:00
John J. Camilleri 56f530abab Clean up Make.sh and add verbosity flag 2018-07-30 11:52:55 +02:00
John J. Camilleri be66369ccf Build modules separately otherwise a single fail makes whole thing fail 2018-07-28 16:02:06 +02:00
John J. Camilleri 411da9cbd8 Update README 2018-07-26 21:43:45 +02:00
John J. Camilleri ade493515a [GF Split] Post-split updates 2018-07-25 20:18:48 +02:00
John J. Camilleri 5d058bcfc0 Remove RGL Source Browser
This has moved to:
https://github.com/GrammaticalFramework/rgl-source-browser
2018-07-22 14:55:27 +02:00
John J. Camilleri dd9e9cb51b Remove obsolete lib/src/Make.hs and related lib/src/Makefile entries 2018-07-11 15:47:27 +02:00
John J. Camilleri 685d044d48 Update Clone.hs script for copying RGs (and other projects) to new langs 2018-07-07 13:47:18 +02:00
John J. Camilleri 41c9cc80a6 Remove mkLogo.gfs 2018-07-06 13:55:57 +02:00
John J. Camilleri d094cafa07 coding flag in NewDictSweAbs.gf 2018-07-04 10:28:16 +02:00