aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md11
-rw-r--r--TODO.txt2
-rw-r--r--milch.cabal (renamed from lang.cabal)34
-rw-r--r--package.yaml24
-rw-r--r--todo.md6
5 files changed, 31 insertions, 46 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
deleted file mode 100644
index 385f76d..0000000
--- a/CHANGELOG.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Changelog for `lang`
-
-All notable changes to this project will be documented in this file.
-
-The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
-and this project adheres to the
-[Haskell Package Versioning Policy](https://pvp.haskell.org/).
-
-## Unreleased
-
-## 0.1.0.0 - YYYY-MM-DD
diff --git a/TODO.txt b/TODO.txt
new file mode 100644
index 0000000..fc29273
--- /dev/null
+++ b/TODO.txt
@@ -0,0 +1,2 @@
+add a `catch` builtin for catching fatal errors
+write tests
diff --git a/lang.cabal b/milch.cabal
index b4c7793..acfcb59 100644
--- a/lang.cabal
+++ b/milch.cabal
@@ -4,24 +4,24 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
-name: lang
+name: milch
version: 0.1.0.0
-description: Please see the README on GitHub at <https://github.com/githubuser/lang#readme>
-homepage: https://github.com/githubuser/lang#readme
-bug-reports: https://github.com/githubuser/lang/issues
-author: Author name here
-maintainer: example@example.com
-copyright: 2022 Author name here
-license: BSD3
+description: Please see the README on GitHub at <https://github.com/jantuomi/milch#readme>
+homepage: https://github.com/jantuomi/milch#readme
+bug-reports: https://github.com/jantuomi/milch/issues
+author: Jan Tuomi
+maintainer: jans.tuomi@gmail.com
+copyright: 2022 Jan Tuomi
+license: MIT
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
- CHANGELOG.md
+ TODO.txt
source-repository head
type: git
- location: https://github.com/githubuser/lang
+ location: https://github.com/jantuomi/milch
library
exposed-modules:
@@ -31,7 +31,7 @@ library
Tokenizer
Utils
other-modules:
- Paths_lang
+ Paths_milch
hs-source-dirs:
src
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -O2
@@ -47,10 +47,10 @@ library
, utf8-string ==1.0.2
default-language: Haskell2010
-executable lang-exe
+executable milch
main-is: Main.hs
other-modules:
- Paths_lang
+ Paths_milch
hs-source-dirs:
app
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -O2 -threaded -rtsopts -with-rtsopts=-N
@@ -60,19 +60,19 @@ executable lang-exe
, containers
, farmhash ==0.1.0.5
, haskeline ==0.8.2
- , lang
+ , milch
, mtl
, regex-tdfa ==1.3.2
, text
, utf8-string ==1.0.2
default-language: Haskell2010
-test-suite lang-test
+test-suite milch-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
TestUtils
- Paths_lang
+ Paths_milch
hs-source-dirs:
test
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -O2 -threaded -rtsopts -with-rtsopts=-N
@@ -82,7 +82,7 @@ test-suite lang-test
, containers
, farmhash ==0.1.0.5
, haskeline ==0.8.2
- , lang
+ , milch
, mtl
, regex-tdfa ==1.3.2
, text
diff --git a/package.yaml b/package.yaml
index e8c18e7..8efb1aa 100644
--- a/package.yaml
+++ b/package.yaml
@@ -1,14 +1,14 @@
-name: lang
+name: milch
version: 0.1.0.0
-github: "githubuser/lang"
-license: BSD3
-author: "Author name here"
-maintainer: "example@example.com"
-copyright: "2022 Author name here"
+github: "jantuomi/milch"
+license: MIT
+author: "Jan Tuomi"
+maintainer: "jans.tuomi@gmail.com"
+copyright: "2022 Jan Tuomi"
extra-source-files:
- README.md
-- CHANGELOG.md
+- TODO.txt
# Metadata used when publishing your package
# synopsis: Short description of your package
@@ -17,7 +17,7 @@ extra-source-files:
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
-description: Please see the README on GitHub at <https://github.com/githubuser/lang#readme>
+description: Please see the README on GitHub at <https://github.com/jantuomi/milch#readme>
dependencies:
- base >= 4.7 && < 5
@@ -46,7 +46,7 @@ library:
source-dirs: src
executables:
- lang-exe:
+ milch:
main: Main.hs
source-dirs: app
ghc-options:
@@ -54,10 +54,10 @@ executables:
- -rtsopts
- -with-rtsopts=-N
dependencies:
- - lang
+ - milch
tests:
- lang-test:
+ milch-test:
main: Spec.hs
source-dirs: test
ghc-options:
@@ -65,4 +65,4 @@ tests:
- -rtsopts
- -with-rtsopts=-N
dependencies:
- - lang
+ - milch
diff --git a/todo.md b/todo.md
deleted file mode 100644
index 608f87b..0000000
--- a/todo.md
+++ /dev/null
@@ -1,6 +0,0 @@
-# TODO
-
-In order of priority
-
-- Add a `catch` builtin for catching fatal errors
-- Write tests!