diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2024-08-02 17:44:25 +0200 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2024-08-02 17:44:25 +0200 |
| commit | 749e96d23a6a71139ef84322708e6b1338072b7d (patch) | |
| tree | 3e94053256aa8fee5a34100a15fbcb30319ef632 /protocols | |
initial commit
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/.gitignore | 3 | ||||
| -rw-r--r-- | protocols/cabal.project | 1 | ||||
| -rw-r--r-- | protocols/codegen/Main.hs | 2 | ||||
| -rw-r--r-- | protocols/codegen/codegen.cabal | 14 |
4 files changed, 20 insertions, 0 deletions
diff --git a/protocols/.gitignore b/protocols/.gitignore new file mode 100644 index 0000000..d6ca1ed --- /dev/null +++ b/protocols/.gitignore @@ -0,0 +1,3 @@ +# generated code +protocols.cabal +Wayland diff --git a/protocols/cabal.project b/protocols/cabal.project new file mode 100644 index 0000000..7c1c60c --- /dev/null +++ b/protocols/cabal.project @@ -0,0 +1 @@ +packages: codegen/codegen.cabal diff --git a/protocols/codegen/Main.hs b/protocols/codegen/Main.hs new file mode 100644 index 0000000..d3230a6 --- /dev/null +++ b/protocols/codegen/Main.hs @@ -0,0 +1,2 @@ +main :: IO () +main = putStrLn "Generating code" diff --git a/protocols/codegen/codegen.cabal b/protocols/codegen/codegen.cabal new file mode 100644 index 0000000..534f007 --- /dev/null +++ b/protocols/codegen/codegen.cabal @@ -0,0 +1,14 @@ +cabal-version: 3.0 +name: highway-protocols-codegen +version: 1.0.0 +synopsis: Code generation for Wayland protocols. +build-type: Simple + +common warnings + ghc-options: -Wall + +executable codegen + import: warnings + main-is: Main.hs + build-depends: base ^>=4.18.2.1 + default-language: Haskell2010 |
