Browse Source

Initializes as cabal project

Abhinav Sarkar 5 years ago
parent
commit
ce2413db34
3 changed files with 42 additions and 18 deletions
  1. 16
    18
      LICENSE
  2. 2
    0
      Setup.hs
  3. 24
    0
      hastron.cabal

+ 16
- 18
LICENSE View File

@@ -1,22 +1,20 @@
1
-The MIT License (MIT)
2
-
3 1
 Copyright (c) 2015 Abhinav Sarkar
4 2
 
5
-Permission is hereby granted, free of charge, to any person obtaining a copy
6
-of this software and associated documentation files (the "Software"), to deal
7
-in the Software without restriction, including without limitation the rights
8
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
-copies of the Software, and to permit persons to whom the Software is
10
-furnished to do so, subject to the following conditions:
11
-
12
-The above copyright notice and this permission notice shall be included in all
13
-copies or substantial portions of the Software.
3
+Permission is hereby granted, free of charge, to any person obtaining
4
+a copy of this software and associated documentation files (the
5
+"Software"), to deal in the Software without restriction, including
6
+without limitation the rights to use, copy, modify, merge, publish,
7
+distribute, sublicense, and/or sell copies of the Software, and to
8
+permit persons to whom the Software is furnished to do so, subject to
9
+the following conditions:
14 10
 
15
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
-SOFTWARE.
11
+The above copyright notice and this permission notice shall be included
12
+in all copies or substantial portions of the Software.
22 13
 
14
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 2
- 0
Setup.hs View File

@@ -0,0 +1,2 @@
1
+import Distribution.Simple
2
+main = defaultMain

+ 24
- 0
hastron.cabal View File

@@ -0,0 +1,24 @@
1
+-- Initial hastron.cabal generated by cabal init.  For further 
2
+-- documentation, see http://haskell.org/cabal/users-guide/
3
+
4
+name:                hastron
5
+version:             0.1.0.0
6
+-- synopsis:            
7
+-- description:         
8
+license:             MIT
9
+license-file:        LICENSE
10
+author:              Abhinav Sarkar
11
+maintainer:          abhinav@abhinavsarkar.net
12
+-- copyright:           
13
+category:            Game
14
+build-type:          Simple
15
+extra-source-files:  README.md
16
+cabal-version:       >=1.10
17
+
18
+executable hastron
19
+  main-is:             Main.hs
20
+  -- other-modules:       
21
+  -- other-extensions:    
22
+  build-depends:       base >=4.7 && <4.8
23
+  hs-source-dirs:      src
24
+  default-language:    Haskell2010

Loading…
Cancel
Save