Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Create the project
Browse files Browse the repository at this point in the history
  • Loading branch information
ChShersh committed Aug 6, 2018
0 parents commit 11b205a
Show file tree
Hide file tree
Showing 8 changed files with 162 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
### Haskell
dist
dist-*
cabal-dev
*.o
*.hi
*.chi
*.chs.h
*.dyn_o
*.dyn_hi
*.prof
*.aux
*.hp
*.eventlog
.virtualenv
.hsenv
.hpc
.cabal-sandbox/
cabal.sandbox.config
cabal.config
cabal.project.local
.ghc.environment.*
.HTF/
# Stack
.stack-work/

### IDE/support
# Vim
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-v][a-z]
[._]sw[a-p]
*~
tags

# IntellijIDEA
.idea/
.ideaHaskellLib/
*.iml

# Atom
.haskell-ghc-mod.json

# VS
.vscode/

# Emacs
*#
.dir-locals.el
TAGS

# other
.DS_Store

13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Change log
==========

proto-route uses [PVP Versioning][1].
The change log is available [on GitHub][2].

0.0.0
=====
* Initially created.

[1]: https://pvp.haskell.org
[2]: https://github.com/holmusk/proto-route/releases

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Holmusk

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.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# proto-route

[![Hackage](https://img.shields.io/hackage/v/proto-route.svg)](https://hackage.haskell.org/package/proto-route)
[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/holmusk/proto-route/blob/master/LICENSE)




Remote testing tool for protobuf endpoints

7 changes: 7 additions & 0 deletions app/Main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module Main where

import ProtoRoute (someFunc)

main :: IO ()
main = someFunc

42 changes: 42 additions & 0 deletions proto-route.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: proto-route
version: 0.0.0
description: Remote testing tool for protobuf endpoints
synopsis: Remote testing tool for protobuf endpoints
homepage: https://github.com/holmusk/proto-route
bug-reports: https://github.com/holmusk/proto-route/issues
license: MIT
license-file: LICENSE
author: Holmusk
maintainer: tech@holmusk.com
copyright: 2018 Holmusk
category: Protobuf, Network
build-type: Simple
extra-doc-files: README.md
, CHANGELOG.md
cabal-version: 1.24
tested-with: GHC == 8.4.3

source-repository head
type: git
location: https://github.com/holmusk/proto-route.git

library
hs-source-dirs: src
exposed-modules: ProtoRoute
Prelude
ghc-options: -Wall
build-depends: base-noprelude
, universum
default-language: Haskell2010


executable proto-route
hs-source-dirs: app
main-is: Main.hs
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends: base-noprelude
, proto-route
, universum
default-language: Haskell2010


8 changes: 8 additions & 0 deletions src/Prelude.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- | Uses [universum](https://hackage.haskell.org/package/universum) as default Prelude.

module Prelude
( module Universum
) where

import Universum

7 changes: 7 additions & 0 deletions src/ProtoRoute.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module ProtoRoute
( someFunc
) where

someFunc :: IO ()
someFunc = putStrLn ("someFunc" :: String)

0 comments on commit 11b205a

Please sign in to comment.