Restructured the project

master
Abhinav Sarkar 9 years ago
parent 7c6bca5028
commit 0de98e8f18
  1. 0
      hask-irc-core/Network/IRC/Bot.hs
  2. 0
      hask-irc-core/Network/IRC/Client.hs
  3. 0
      hask-irc-core/Network/IRC/Handlers.hs
  4. 0
      hask-irc-core/Network/IRC/Handlers/Auth.hs
  5. 0
      hask-irc-core/Network/IRC/Handlers/Auth/Types.hs
  6. 0
      hask-irc-core/Network/IRC/Handlers/MessageLogger.hs
  7. 0
      hask-irc-core/Network/IRC/Handlers/NickTracker.hs
  8. 0
      hask-irc-core/Network/IRC/Handlers/NickTracker/Types.hs
  9. 0
      hask-irc-core/Network/IRC/Handlers/SongSearch.hs
  10. 0
      hask-irc-core/Network/IRC/Protocol.hs
  11. 0
      hask-irc-core/Network/IRC/Types.hs
  12. 0
      hask-irc-core/Network/IRC/Util.hs
  13. 35
      hask-irc-core/hask-irc-core.cabal
  14. 78
      hask-irc-runner/hask-irc-runner.cabal
  15. 16
      init_sanbox.sh

@ -25,7 +25,7 @@ homepage: https://github.com/abhin4v/hask-irc
license: Apache-2.0
-- The file containing the license text.
license-file: LICENSE
license-file: ../LICENSE
-- The package author(s).
author: Abhinav Sarkar
@ -92,39 +92,6 @@ library
Network.IRC.Handlers.NickTracker.Types,
Network.IRC.Handlers.SongSearch
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -fno-warn-unused-do-bind -O2 -funbox-strict-fields -fno-warn-orphans
executable hask-irc
-- .hs or .lhs file containing the Main module.
main-is: Main.hs
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
default-extensions: NoImplicitPrelude, OverloadedStrings, RecordWildCards, ScopedTypeVariables,
BangPatterns, TupleSections, NamedFieldPuns, GeneralizedNewtypeDeriving,
DeriveDataTypeable
-- Other library packages from which modules are imported.
build-depends: base >=4.5 && <4.8,
hask-irc ==0.1.0,
configurator >=0.2 && <0.3,
classy-prelude >=0.9 && <1.0,
lifted-base >=0.2 && <0.3,
unix >=2.7 && <2.8,
hslogger >=1.2 && <1.3
-- Directories containing source files.
hs-source-dirs: hask-irc-runner
-- Base language which the package is written in.
default-language: Haskell2010
ghc-options: -Wall -fno-warn-unused-do-bind -funbox-strict-fields -fno-warn-orphans

@ -0,0 +1,78 @@
-- Initial hask-irc.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package.
name: hask-irc-runner
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0
-- A short (one-line) description of the package.
synopsis: A simple extensible IRC bot
-- A longer description of the package.
-- description:
-- URL for the project homepage or repository.
homepage: https://github.com/abhin4v/hask-irc
-- The license under which the package is released.
license: Apache-2.0
license-file: ../LICENSE
-- The package author(s).
author: Abhinav Sarkar
-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: abhinav@abhinavsarkar.net
-- A copyright notice.
-- copyright:
category: Network, IRC
build-type: Simple
-- Extra files to be distributed with the package, such as examples or a
-- README.
-- extra-source-files:
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.10
executable hask-irc
-- .hs or .lhs file containing the Main module.
main-is: Main.hs
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
default-extensions: NoImplicitPrelude, OverloadedStrings, RecordWildCards, ScopedTypeVariables,
BangPatterns, TupleSections, NamedFieldPuns, GeneralizedNewtypeDeriving,
DeriveDataTypeable
-- Other library packages from which modules are imported.
build-depends: base >=4.5 && <4.8,
hask-irc ==0.1.0,
configurator >=0.2 && <0.3,
classy-prelude >=0.9 && <1.0,
lifted-base >=0.2 && <0.3,
unix >=2.7 && <2.8,
hslogger >=1.2 && <1.3
-- Directories containing source files.
-- hs-source-dirs:
-- Base language which the package is written in.
default-language: Haskell2010
ghc-options: -Wall -fno-warn-unused-do-bind -funbox-strict-fields -fno-warn-orphans

@ -0,0 +1,16 @@
#!/bin/bash
set -x #echo on
cabal sandbox init
cd hask-irc-core
cabal sandbox init --sandbox=../.cabal-sandbox
cd ..
cd hask-irc-runner
cabal sandbox init --sandbox=../.cabal-sandbox
cabal sandbox add-source ../hask-irc-core/
cd ..
cd hask-irc-core
cabal install -j3 --only-dependencies
cd ..
Loading…
Cancel
Save