From 749e96d23a6a71139ef84322708e6b1338072b7d Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Fri, 2 Aug 2024 17:44:25 +0200 Subject: initial commit --- protocols/.gitignore | 3 +++ protocols/cabal.project | 1 + protocols/codegen/Main.hs | 2 ++ protocols/codegen/codegen.cabal | 14 ++++++++++++++ 4 files changed, 20 insertions(+) create mode 100644 protocols/.gitignore create mode 100644 protocols/cabal.project create mode 100644 protocols/codegen/Main.hs create mode 100644 protocols/codegen/codegen.cabal (limited to 'protocols') 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 -- cgit v1.3.1