This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ChShersh
committed
Aug 6, 2018
0 parents
commit 11b205a
Showing
8 changed files
with
162 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module Main where | ||
|
||
import ProtoRoute (someFunc) | ||
|
||
main :: IO () | ||
main = someFunc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module ProtoRoute | ||
( someFunc | ||
) where | ||
|
||
someFunc :: IO () | ||
someFunc = putStrLn ("someFunc" :: String) | ||
|