]> Git — Sourcephile - webc.git/commit
impl: generate routes from a model
authorJulien Moutinho <julm@sourcephile.fr>
Wed, 9 Mar 2022 22:20:42 +0000 (23:20 +0100)
committerJulien Moutinho <julm@sourcephile.fr>
Thu, 10 Mar 2022 07:46:57 +0000 (08:46 +0100)
commit2432980e1ef17956c812019a888303f41a460e8c
treeac656ab40648fbbd9f953049752b7a7cdecff790
parent06d1114e18a80c2a84366ec1674ce961e8793763
impl: generate routes from a model
46 files changed:
.hlint.yaml
flake.lock
fourmolu.yaml
src/Webc.hs
src/Webc/Classes.hs
src/Webc/Decoder.hs
src/Webc/Encoder.hs
src/Webc/Generator.hs
tests/Examples/Ex01.hs
tests/Examples/Ex02.hs [new file with mode: 0644]
tests/Goldens.hs
tests/Goldens/Encoder/Site001/Model01/Gen001.expected.txt [moved from tests/Goldens/Encoder/Site001/output01.expected.txt with 100% similarity]
tests/Goldens/Encoder/Site002/Model01/Gen001.expected.txt [moved from tests/Goldens/Encoder/Site002/output01.expected.txt with 100% similarity]
tests/Goldens/Encoder/Site003/Model01/Gen001.expected.txt [moved from tests/Goldens/Encoder/Site003/output01.expected.txt with 100% similarity]
tests/Goldens/Encoder/Site003/Model01/Gen002.expected.txt [moved from tests/Goldens/Encoder/Site003/output02.expected.txt with 100% similarity]
tests/Goldens/Encoder/Site004/Model01/Gen001.expected.txt [moved from tests/Goldens/Encoder/Site004/output01.expected.txt with 100% similarity]
tests/Goldens/Encoder/Site004/Model01/Gen002.expected.txt [moved from tests/Goldens/Encoder/Site004/output02.expected.txt with 100% similarity]
tests/Goldens/Encoder/Site004/Model01/Gen003.expected.txt [moved from tests/Goldens/Encoder/Site004/output03.expected.txt with 100% similarity]
tests/Goldens/Encoder/Site004/Model01/Gen004.expected.txt [moved from tests/Goldens/Encoder/Site004/output04.expected.txt with 100% similarity]
tests/Goldens/Encoder/Site005/Model01/Gen001.expected.txt [moved from tests/Goldens/Encoder/Site005/output01.expected.txt with 100% similarity]
tests/Goldens/Encoder/Site005/Model01/Gen002.expected.txt [moved from tests/Goldens/Encoder/Site005/output02.expected.txt with 100% similarity]
tests/Goldens/Encoder/Site005/output03.expected.txt [deleted file]
tests/Goldens/Encoder/Site005/output04.expected.txt [deleted file]
tests/Goldens/Encoder/Site005/output05.expected.txt [deleted file]
tests/Goldens/Encoder/Site005/output06.expected.txt [deleted file]
tests/Goldens/Encoder/Site006/Model01/Gen001.expected.txt [new file with mode: 0644]
tests/Goldens/Encoder/Site006/Model01/Gen002.expected.txt [new file with mode: 0644]
tests/Goldens/Encoder/Site006/Model01/Gen003.expected.txt [new file with mode: 0644]
tests/Goldens/Encoder/Site006/Model01/Gen004.expected.txt [new file with mode: 0644]
tests/Goldens/Encoder/Site006/Model01/Gen005.expected.txt [new file with mode: 0644]
tests/Goldens/Encoder/Site006/Model01/Gen006.expected.txt [new file with mode: 0644]
tests/Goldens/Encoder/Site006/Model01/Gen007.expected.txt [new file with mode: 0644]
tests/Goldens/Encoder/Site006/Model01/Gen008.expected.txt [new file with mode: 0644]
tests/Goldens/Encoder/Site006/Model01/Gen009.expected.txt [new file with mode: 0644]
tests/Goldens/Encoder/Site006/Model01/Gen010.expected.txt [new file with mode: 0644]
tests/Goldens/Encoder/Site006/Model01/Gen011.expected.txt [new file with mode: 0644]
tests/Goldens/Generator/Site001/Model01/expected.txt [moved from tests/Goldens/Generator/Site001/expected.txt with 100% similarity]
tests/Goldens/Generator/Site002/Model01/expected.txt [moved from tests/Goldens/Generator/Site002/expected.txt with 100% similarity]
tests/Goldens/Generator/Site003/Model01/expected.txt [moved from tests/Goldens/Generator/Site003/expected.txt with 100% similarity]
tests/Goldens/Generator/Site004/Model01/expected.txt [moved from tests/Goldens/Generator/Site004/expected.txt with 100% similarity]
tests/Goldens/Generator/Site005/Model01/expected.txt [new file with mode: 0644]
tests/Goldens/Generator/Site005/expected.txt [deleted file]
tests/Goldens/Generator/Site006/Model01/expected.txt [new file with mode: 0644]
tests/HUnits.hs
tests/Utils.hs
webc.cabal