From 425e96636c1311b52a9e72c004cd1e74deb37bf0 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 9 Mar 2022 18:14:41 +0100 Subject: Replace generic info by personal info --- LICENSE | 2 +- app/Main.hs | 2 +- package.yaml | 19 +++++++------------ src/Choc.hs | 6 ++++++ src/Lib.hs | 6 ------ 5 files changed, 15 insertions(+), 20 deletions(-) create mode 100644 src/Choc.hs delete mode 100644 src/Lib.hs diff --git a/LICENSE b/LICENSE index 342c588..9a49f80 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright Author name here (c) 2022 +Copyright Yann Herklotz (c) 2022 All rights reserved. diff --git a/app/Main.hs b/app/Main.hs index de1c1ab..a6ac9e8 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -1,6 +1,6 @@ module Main where -import Lib +import Choc main :: IO () main = someFunc diff --git a/package.yaml b/package.yaml index f031d6e..23a31a7 100644 --- a/package.yaml +++ b/package.yaml @@ -1,23 +1,18 @@ name: choc version: 0.1.0.0 -github: "githubuser/choc" +git: "https://sr.ht/~ymherklotz/choc" license: BSD3 -author: "Author name here" -maintainer: "example@example.com" -copyright: "2022 Author name here" +author: "Yann Herklotz" +maintainer: "git@yannherklotz.com" +copyright: "2022 Yann Herklotz" extra-source-files: - README.md - ChangeLog.md -# Metadata used when publishing your package -# synopsis: Short description of your package -# category: Web - -# To avoid duplicated efforts in documentation and dealing with the -# complications of embedding Haddock markup inside cabal files, it is -# common to point users to the README.md file. -description: Please see the README on GitHub at +synopsis: An implementation of the Calculus of Construction. +category: Algebra +description: Please see the README at dependencies: - base >= 4.7 && < 5 diff --git a/src/Choc.hs b/src/Choc.hs new file mode 100644 index 0000000..1d37ddc --- /dev/null +++ b/src/Choc.hs @@ -0,0 +1,6 @@ +module Choc + ( someFunc + ) where + +someFunc :: IO () +someFunc = putStrLn "someFunc" diff --git a/src/Lib.hs b/src/Lib.hs deleted file mode 100644 index d36ff27..0000000 --- a/src/Lib.hs +++ /dev/null @@ -1,6 +0,0 @@ -module Lib - ( someFunc - ) where - -someFunc :: IO () -someFunc = putStrLn "someFunc" -- cgit