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