Name the project
This commit is contained in:
parent
84c759207a
commit
fefa79c181
@ -1,8 +1,8 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
{-# LANGUAGE OverloadedStrings #-}
|
||||||
module Application where
|
module Application where
|
||||||
|
|
||||||
import Shortener.Common
|
import Breve.Common
|
||||||
import Shortener.UrlTable
|
import Breve.UrlTable
|
||||||
|
|
||||||
import Web.Simple
|
import Web.Simple
|
||||||
import Web.Simple.Static
|
import Web.Simple.Static
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{-# LANGUAGE MultiParamTypeClasses #-}
|
{-# LANGUAGE MultiParamTypeClasses #-}
|
||||||
module Shortener.Common where
|
module Breve.Common where
|
||||||
|
|
||||||
import Control.Applicative
|
import Control.Applicative
|
||||||
import Text.Printf
|
import Text.Printf
|
@ -1,4 +1,4 @@
|
|||||||
module Shortener.Generator
|
module Breve.Generator
|
||||||
( wordID
|
( wordID
|
||||||
, hashID
|
, hashID
|
||||||
, Word
|
, Word
|
@ -1,11 +1,11 @@
|
|||||||
module Shortener.UrlTable
|
module Breve.UrlTable
|
||||||
( UrlTable
|
( UrlTable
|
||||||
, records
|
, records
|
||||||
, insert
|
, insert
|
||||||
, extract
|
, extract
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Shortener.Generator
|
import Breve.Generator
|
||||||
|
|
||||||
import Control.Applicative
|
import Control.Applicative
|
||||||
import Control.Monad
|
import Control.Monad
|
2
Main.hs
2
Main.hs
@ -2,7 +2,7 @@
|
|||||||
module Main where
|
module Main where
|
||||||
|
|
||||||
import Application
|
import Application
|
||||||
import Shortener.Common
|
import Breve.Common
|
||||||
|
|
||||||
import Control.Applicative
|
import Control.Applicative
|
||||||
import Network.Wai.Handler.Warp
|
import Network.Wai.Handler.Warp
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name: shortener
|
name: breve
|
||||||
version: 0.0.1.0
|
version: 0.0.1.0
|
||||||
synopsis: a url shortener
|
synopsis: a url shortener
|
||||||
description:
|
description:
|
||||||
@ -6,7 +6,7 @@ description:
|
|||||||
A web application that provides a simple interface to shortening
|
A web application that provides a simple interface to shortening
|
||||||
long urls creating smaller and easy to remember links.
|
long urls creating smaller and easy to remember links.
|
||||||
|
|
||||||
homepage: https://github.com/rnhmjoj/shortener
|
homepage: https://github.com/rnhmjoj/breve
|
||||||
license: MIT
|
license: MIT
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
author: Rnhmjoj
|
author: Rnhmjoj
|
||||||
@ -17,7 +17,11 @@ build-type: Simple
|
|||||||
extra-source-files: README.md, LICENSE
|
extra-source-files: README.md, LICENSE
|
||||||
cabal-version: >=1.10
|
cabal-version: >=1.10
|
||||||
|
|
||||||
executable shortener
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/rnhmjoj/breve
|
||||||
|
|
||||||
|
executable breve
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
build-depends: base, simple >= 0.8.0,
|
build-depends: base, simple >= 0.8.0,
|
Loading…
Reference in New Issue
Block a user