on master help sign in
autogenerated stuff
commitf5a8869a1ba0196244648f0fcc7e8c52432527cb authorMark Wotton <mwotton@gmail.com> dateFri 5 Jun 2020, 12:01 (6 years ago) parenta796dc4
10 files changed+208
.gitignore+2 ChangeLog.md+3 LICENSE+30 README.md+1 Setup.hs+2 app/Main.hs+6 package.yaml+40 roboservant.cabal+54 stack.yaml+68 test/Spec.hs+2
.gitignorenew file+2
@@ -0,0 +1,2 @@
1+.stack-work/
2+*~
ChangeLog.mdnew file+3
@@ -0,0 +1,3 @@
1+# Changelog for roboservant
2+
3+## Unreleased changes
LICENSEnew file+30
@@ -0,0 +1,30 @@
1+Copyright Author name here (c) 2020
2+
3+All rights reserved.
4+
5+Redistribution and use in source and binary forms, with or without
6+modification, are permitted provided that the following conditions are met:
7+
8+ * Redistributions of source code must retain the above copyright
9+ notice, this list of conditions and the following disclaimer.
10+
11+ * Redistributions in binary form must reproduce the above
12+ copyright notice, this list of conditions and the following
13+ disclaimer in the documentation and/or other materials provided
14+ with the distribution.
15+
16+ * Neither the name of Author name here nor the names of other
17+ contributors may be used to endorse or promote products derived
18+ from this software without specific prior written permission.
19+
20+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
README.mdnew file+1
@@ -0,0 +1 @@
1+# roboservant
Setup.hsnew file+2
@@ -0,0 +1,2 @@
1+import Distribution.Simple
2+main = defaultMain
app/Main.hsnew file+6
@@ -0,0 +1,6 @@
1+module Main where
2+
3+import Lib
4+
5+main :: IO ()
6+main = someFunc
package.yamlnew file+40
@@ -0,0 +1,40 @@
1+name: roboservant
2+version: 0.1.0.0
3+github: "githubuser/roboservant"
4+license: BSD3
5+author: "Author name here"
6+maintainer: "example@example.com"
7+copyright: "2020 Author name here"
8+
9+extra-source-files:
10+- README.md
11+- ChangeLog.md
12+
13+# Metadata used when publishing your package
14+# synopsis: Short description of your package
15+# category: Web
16+
17+# To avoid duplicated efforts in documentation and dealing with the
18+# complications of embedding Haddock markup inside cabal files, it is
19+# common to point users to the README.md file.
20+description: Please see the README on GitHub at <https://github.com/githubuser/roboservant#readme>
21+
22+dependencies:
23+- base >= 4.7 && < 5
24+- servant
25+# - servant-server
26+- servant-flatten
27+
28+library:
29+ source-dirs: src
30+
31+tests:
32+ roboservant-test:
33+ main: Spec.hs
34+ source-dirs: test
35+ ghc-options:
36+ - -threaded
37+ - -rtsopts
38+ - -with-rtsopts=-N
39+ dependencies:
40+ - roboservant
roboservant.cabalnew file+54
@@ -0,0 +1,54 @@
1+cabal-version: 1.12
2+
3+-- This file has been generated from package.yaml by hpack version 0.31.2.
4+--
5+-- see: https://github.com/sol/hpack
6+--
7+-- hash: 33a62383bf0beb0aeb574784168345597afa6e00cb42cc943f6708e06370ae37
8+
9+name: roboservant
10+version: 0.1.0.0
11+description: Please see the README on GitHub at <https://github.com/githubuser/roboservant#readme>
12+homepage: https://github.com/githubuser/roboservant#readme
13+bug-reports: https://github.com/githubuser/roboservant/issues
14+author: Author name here
15+maintainer: example@example.com
16+copyright: 2020 Author name here
17+license: BSD3
18+license-file: LICENSE
19+build-type: Simple
20+extra-source-files:
21+ README.md
22+ ChangeLog.md
23+
24+source-repository head
25+ type: git
26+ location: https://github.com/githubuser/roboservant
27+
28+library
29+ exposed-modules:
30+ Lib
31+ other-modules:
32+ Paths_roboservant
33+ hs-source-dirs:
34+ src
35+ build-depends:
36+ base >=4.7 && <5
37+ , servant
38+ , servant-flatten
39+ default-language: Haskell2010
40+
41+test-suite roboservant-test
42+ type: exitcode-stdio-1.0
43+ main-is: Spec.hs
44+ other-modules:
45+ Paths_roboservant
46+ hs-source-dirs:
47+ test
48+ ghc-options: -threaded -rtsopts -with-rtsopts=-N
49+ build-depends:
50+ base >=4.7 && <5
51+ , roboservant
52+ , servant
53+ , servant-flatten
54+ default-language: Haskell2010
stack.yamlnew file+68
@@ -0,0 +1,68 @@
1+# This file was automatically generated by 'stack init'
2+#
3+# Some commonly used options have been documented as comments in this file.
4+# For advanced use and comprehensive documentation of the format, please see:
5+# https://docs.haskellstack.org/en/stable/yaml_configuration/
6+
7+# Resolver to choose a 'specific' stackage snapshot or a compiler version.
8+# A snapshot resolver dictates the compiler version and the set of packages
9+# to be used for project dependencies. For example:
10+#
11+# resolver: lts-3.5
12+# resolver: nightly-2015-09-21
13+# resolver: ghc-7.10.2
14+#
15+# The location of a snapshot can be provided as a file or url. Stack assumes
16+# a snapshot provided as a file might change, whereas a url resource does not.
17+#
18+# resolver: ./custom-snapshot.yaml
19+# resolver: https://example.com/snapshots/2018-01-01.yaml
20+resolver: lts-15.6
21+
22+# User packages to be built.
23+# Various formats can be used as shown in the example below.
24+#
25+# packages:
26+# - some-directory
27+# - https://example.com/foo/bar/baz-0.0.2.tar.gz
28+# subdirs:
29+# - auto-update
30+# - wai
31+packages:
32+- .
33+# Dependency packages to be pulled from upstream that are not in the resolver.
34+# These entries can reference officially published versions as well as
35+# forks / in-progress versions pinned to a git hash. For example:
36+#
37+# extra-deps:
38+# - acme-missiles-0.3
39+# - git: https://github.com/commercialhaskell/stack.git
40+# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
41+#
42+extra-deps:
43+- servant-flatten-0.2@sha256:276896f7c5cdec5b8f8493f6205fded0cc602d050b58fdb09a6d7c85c3bb0837,1234
44+
45+
46+# Override default flag values for local packages and extra-deps
47+# flags: {}
48+
49+# Extra package databases containing global packages
50+# extra-package-dbs: []
51+
52+# Control whether we use the GHC we find on the path
53+# system-ghc: true
54+#
55+# Require a specific version of stack, using version ranges
56+# require-stack-version: -any # Default
57+# require-stack-version: ">=2.1"
58+#
59+# Override the architecture used by stack, especially useful on Windows
60+# arch: i386
61+# arch: x86_64
62+#
63+# Extra directories used by stack for building
64+# extra-include-dirs: [/path/to/dir]
65+# extra-lib-dirs: [/path/to/dir]
66+#
67+# Allow a newer minor version of GHC than the snapshot specifies
68+# compiler-check: newer-minor
test/Spec.hsnew file+2
@@ -0,0 +1,2 @@
1+main :: IO ()
2+main = putStrLn "Test suite not yet implemented"