commit cd5acfc06c826dd98f6359732654fca387c51c3a Author: Joscha Date: Wed Feb 5 13:38:43 2020 +0000 Create project diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a5c3e0f --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.stack-work/ +forest.cabal +*~ diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..8afd99e --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,4 @@ +# Changelog for forest + +## upcoming +* create project diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..eee7b87 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Garmelon + +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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..702e30d --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# forest + +In the beginning there was darkness. diff --git a/Setup.hs b/Setup.hs new file mode 100644 index 0000000..9a994af --- /dev/null +++ b/Setup.hs @@ -0,0 +1,2 @@ +import Distribution.Simple +main = defaultMain diff --git a/client/Main.hs b/client/Main.hs new file mode 100644 index 0000000..f0452d6 --- /dev/null +++ b/client/Main.hs @@ -0,0 +1,2 @@ +main :: IO () +main = putStrLn "The universe expands into itself." diff --git a/package.yaml b/package.yaml new file mode 100644 index 0000000..89d5327 --- /dev/null +++ b/package.yaml @@ -0,0 +1,40 @@ +name: forest +version: 0.1.0.0 +license: MIT +author: "Garmelon " +copyright: "2020 Garmelon" + +synopsis: A tree-based multi-user interaction thing +description: Please see the README on GitHub at +github: "Garmelon/forest" + +extra-source-files: +- README.md +- CHANGELOG.md + +dependencies: +- base >= 4.7 && < 5 + +library: + source-dirs: src + +executables: + forest-server: + main: Main.hs + source-dirs: server + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N + dependencies: + - forest + + forest-client: + main: Main.hs + source-dirs: client + ghc-options: + - -threaded + - -rtsopts + - -with-rtsopts=-N + dependencies: + - forest diff --git a/server/Main.hs b/server/Main.hs new file mode 100644 index 0000000..e4b9b4d --- /dev/null +++ b/server/Main.hs @@ -0,0 +1,2 @@ +main :: IO () +main = putStrLn "There is only night." diff --git a/src/Forest.hs b/src/Forest.hs new file mode 100644 index 0000000..73fb08a --- /dev/null +++ b/src/Forest.hs @@ -0,0 +1,3 @@ +module Forest where + +-- This is just a placeholder file at the moment diff --git a/stack.yaml b/stack.yaml new file mode 100644 index 0000000..727d3b1 --- /dev/null +++ b/stack.yaml @@ -0,0 +1,66 @@ +# This file was automatically generated by 'stack init' +# +# Some commonly used options have been documented as comments in this file. +# For advanced use and comprehensive documentation of the format, please see: +# https://docs.haskellstack.org/en/stable/yaml_configuration/ + +# Resolver to choose a 'specific' stackage snapshot or a compiler version. +# A snapshot resolver dictates the compiler version and the set of packages +# to be used for project dependencies. For example: +# +# resolver: lts-3.5 +# resolver: nightly-2015-09-21 +# resolver: ghc-7.10.2 +# +# The location of a snapshot can be provided as a file or url. Stack assumes +# a snapshot provided as a file might change, whereas a url resource does not. +# +# resolver: ./custom-snapshot.yaml +# resolver: https://example.com/snapshots/2018-01-01.yaml +resolver: lts-14.22 + +# User packages to be built. +# Various formats can be used as shown in the example below. +# +# packages: +# - some-directory +# - https://example.com/foo/bar/baz-0.0.2.tar.gz +# subdirs: +# - auto-update +# - wai +packages: +- . +# Dependency packages to be pulled from upstream that are not in the resolver. +# These entries can reference officially published versions as well as +# forks / in-progress versions pinned to a git hash. For example: +# +# extra-deps: +# - acme-missiles-0.3 +# - git: https://github.com/commercialhaskell/stack.git +# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a +# +# extra-deps: [] + +# Override default flag values for local packages and extra-deps +# flags: {} + +# Extra package databases containing global packages +# extra-package-dbs: [] + +# Control whether we use the GHC we find on the path +# system-ghc: true +# +# Require a specific version of stack, using version ranges +# require-stack-version: -any # Default +# require-stack-version: ">=2.1" +# +# Override the architecture used by stack, especially useful on Windows +# arch: i386 +# arch: x86_64 +# +# Extra directories used by stack for building +# extra-include-dirs: [/path/to/dir] +# extra-lib-dirs: [/path/to/dir] +# +# Allow a newer minor version of GHC than the snapshot specifies +# compiler-check: newer-minor diff --git a/stack.yaml.lock b/stack.yaml.lock new file mode 100644 index 0000000..f16d746 --- /dev/null +++ b/stack.yaml.lock @@ -0,0 +1,12 @@ +# This file was autogenerated by Stack. +# You should not edit this file by hand. +# For more information, please see the documentation at: +# https://docs.haskellstack.org/en/stable/lock_files + +packages: [] +snapshots: +- completed: + size: 524164 + url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/14/22.yaml + sha256: 7ad8f33179b32d204165a3a662c6269464a47a7e65a30abc38d01b5a38ec42c0 + original: lts-14.22