Skip to content

Commit

Permalink
Add project template.
Browse files Browse the repository at this point in the history
  • Loading branch information
evincarofautumn committed Oct 10, 2016
0 parents commit d1f6c77
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 0 deletions.
20 changes: 20 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Ward is distributed under the terms of the MIT License, reproduced below.

Copyright © 2016 Jon Purdy

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.
2 changes: 2 additions & 0 deletions Setup.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain
24 changes: 24 additions & 0 deletions Ward.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Ward
version: 0.1.0.0
synopsis: Static permission checker for C programs.
description: See README.md
homepage: https://github.com/evincarofautumn/ward#readme
license: MIT
license-file: LICENSE
author: Jon Purdy
maintainer: evincarofautumn@gmail.com
copyright: 2016 Jon Purdy
category: Language
build-type: Simple
cabal-version: >=1.10

executable ward
hs-source-dirs: src
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: base
default-language: Haskell2010

source-repository head
type: git
location: https://github.com/evincarofautumn/ward
4 changes: 4 additions & 0 deletions src/Main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Main where

main :: IO ()
main = putStrLn "Hello, world!"
6 changes: 6 additions & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
resolver: lts-7.3
packages:
- '.'
extra-deps: []
flags: {}
extra-package-dbs: []
9 changes: 9 additions & 0 deletions test/Main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import Test.HUnit
import Test.Hspec

main :: IO ()
main = hspec spec

spec :: Spec
spec = do
putStrLn "Test suite not yet implemented"

0 comments on commit d1f6c77

Please sign in to comment.