Create project

This commit is contained in:
Joscha 2020-04-06 15:14:20 +00:00
commit 675e88a105
8 changed files with 140 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
.stack-work/
*~

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2020 Garmelon
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

1
haboli-infobot/README.md Normal file
View file

@ -0,0 +1 @@
# haboli-infobot

View file

@ -0,0 +1,4 @@
module Main where
main :: IO ()
main = putStrLn "Nothing to see here!"

View file

@ -0,0 +1,48 @@
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: cbb37543f441c735429df4c7e5caec2cf786ed7d2e27cd612cb81c71f5c1be0b
name: haboli-infobot
version: 0.1.0.0
synopsis: A bot that counts connected clients and displays them in its nick
description: See <https://github.com/Garmelon/haboli-bot-collection/haboli-infobot#readme>
homepage: https://github.com/Garmelon/haboli-bot-collection#readme
bug-reports: https://github.com/Garmelon/haboli-bot-collection/issues
author: Garmelon <joscha@plugh.de>
maintainer: Garmelon <joscha@plugh.de>
copyright: 2020 Garmelon
license: MIT
build-type: Simple
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/Garmelon/haboli-bot-collection
library
other-modules:
Paths_haboli_infobot
hs-source-dirs:
src
build-depends:
base >=4.7 && <5
, haboli
default-language: Haskell2010
executable haboli-infobot
main-is: Main.hs
other-modules:
Paths_haboli_infobot
hs-source-dirs:
app
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, haboli
, haboli-infobot
default-language: Haskell2010

View file

@ -0,0 +1,30 @@
name: haboli-infobot
version: 0.1.0.0
license: MIT
author: Garmelon <joscha@plugh.de>
copyright: 2020 Garmelon
synopsis: A bot that counts connected clients and displays them in its nick
description: See <https://github.com/Garmelon/haboli-bot-collection/haboli-infobot#readme>
github: Garmelon/haboli-bot-collection
extra-source-files:
- README.md
dependencies:
- base >= 4.7 && < 5
- haboli
library:
source-dirs: src
executables:
haboli-infobot:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- haboli-infobot

8
stack.yaml Normal file
View file

@ -0,0 +1,8 @@
resolver: lts-15.7
packages:
- haboli-infobot
extra-deps:
- github: Garmelon/haboli
commit: ad393a67f67a97c4e74ce038b773c5bcead5ff10

26
stack.yaml.lock Normal file
View file

@ -0,0 +1,26 @@
# This file was autogenerated by Stack.
# You should not edit this file by hand.
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files
packages:
- completed:
size: 14086
url: https://github.com/Garmelon/haboli/archive/ad393a67f67a97c4e74ce038b773c5bcead5ff10.tar.gz
cabal-file:
size: 1263
sha256: b47acf31bb12e802de480983637998761ee56d5e4a2ac0cc251c02f4388cb814
name: haboli
version: 0.3.1.0
sha256: eb0ca0f08fc3c3caaf730c72aaaae31f582cef8dd30b8fc461b11e8e16115166
pantry-tree:
size: 677
sha256: fd8200eeae76d312f0bb5799873235c410f7274018903c936f73942441f0ac73
original:
url: https://github.com/Garmelon/haboli/archive/ad393a67f67a97c4e74ce038b773c5bcead5ff10.tar.gz
snapshots:
- completed:
size: 491389
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/15/7.yaml
sha256: 92ab6303fe20ec928461c82ce0980b4d17c06f4e66205a2967e476474f686c17
original: lts-15.7