Skip to content

Commit

Permalink
Release version 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
taktoa committed Aug 1, 2017
1 parent 158af44 commit 6aaffea
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 26 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## Version 0.2.0

- Removed dependency on `quickcheck-instances`.
- It now compiles under GHC 7.10.3!

## Version 0.1.0

This is the first release of `language-ninja`!
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
.RECIPEPREFIX = >

PACKAGE_NAME = language-ninja
PACKAGE_VERSION = 0.1.0
PACKAGE_VERSION = 0.2.0
PACKAGE = $(PACKAGE_NAME)-$(PACKAGE_VERSION)

JQUERY_VERSION = 3.2.1
Expand Down
15 changes: 7 additions & 8 deletions language-ninja.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--------------------------------------------------------------------------------

name: language-ninja
version: 0.1.0
version: 0.2.0
stability: Experimental
build-type: Custom
cabal-version: >= 1.10
Expand All @@ -23,7 +23,6 @@ extra-source-files: README.md
, CHANGELOG.md
tested-with: GHC == 7.10.3
, GHC == 8.0.2
, GHC == 8.2.1

--------------------------------------------------------------------------------

Expand All @@ -34,7 +33,7 @@ source-repository head

source-repository this
type: git
tag: release-0.1.0
tag: release-0.2.0
location: https://github.com/awakesecurity/language-ninja.git

--------------------------------------------------------------------------------
Expand Down Expand Up @@ -121,7 +120,7 @@ library
, RecordWildCards
, ScopedTypeVariables
, UndecidableInstances
if impl(ghc == 8.*)
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Weverything
-fno-warn-unsafe
-fno-warn-safe
Expand Down Expand Up @@ -190,7 +189,7 @@ test-suite tests
, TypeFamilies
, UndecidableInstances
, ViewPatterns
if impl(ghc == 8.*)
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Weverything
-fno-warn-unsafe
-fno-warn-safe
Expand Down Expand Up @@ -247,7 +246,7 @@ executable ninja-lex
, OverloadedStrings
, StandaloneDeriving
, TypeOperators
if impl(ghc == 8.*)
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Weverything
-fno-warn-unsafe
-fno-warn-safe
Expand Down Expand Up @@ -286,7 +285,7 @@ executable ninja-parse
, OverloadedStrings
, StandaloneDeriving
, TypeOperators
if impl(ghc == 8.*)
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Weverything
-fno-warn-unsafe
-fno-warn-safe
Expand Down Expand Up @@ -325,7 +324,7 @@ executable ninja-compile
, OverloadedStrings
, StandaloneDeriving
, TypeOperators
if impl(ghc == 8.*)
if impl(ghc >= 8.0)
ghc-options: -Wcompat -Weverything
-fno-warn-unsafe
-fno-warn-safe
Expand Down
2 changes: 1 addition & 1 deletion library/Language/Ninja/AST/Build.hs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ instance (Aeson.FromJSON ann) => Aeson.FromJSON (Build ann) where

-- | Reasonable 'QC.Arbitrary' instance for 'Build'.
--
-- @since 0.1.0
-- @since 0.2.0
instance ( QC.Arbitrary ann, BuildConstraint QC.Arbitrary ann
) => QC.Arbitrary (Build ann) where
arbitrary = MkBuild
Expand Down
2 changes: 1 addition & 1 deletion library/Language/Ninja/AST/Deps.hs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ instance (Aeson.FromJSON ann) => Aeson.FromJSON (Deps ann) where

-- | Reasonable 'QC.Arbitrary' instance for 'Deps'.
--
-- @since 0.1.0
-- @since 0.2.0
instance ( QC.Arbitrary ann, DepsConstraint QC.Arbitrary ann
) => QC.Arbitrary (Deps ann) where
arbitrary = MkDeps
Expand Down
2 changes: 1 addition & 1 deletion library/Language/Ninja/AST/Expr.hs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ instance (Aeson.FromJSON ann) => Aeson.FromJSON (Expr ann) where

-- | Reasonable 'QC.Arbitrary' instance for 'Expr'.
--
-- @since 0.1.0
-- @since 0.2.0
instance forall ann.
( QC.Arbitrary ann, ExprConstraint QC.Arbitrary ann
) => QC.Arbitrary (Expr ann) where
Expand Down
2 changes: 1 addition & 1 deletion library/Language/Ninja/AST/Ninja.hs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ instance (Aeson.FromJSON ann) => Aeson.FromJSON (Ninja ann) where

-- | Reasonable 'QC.Arbitrary' instance for 'Ninja'.
--
-- @since 0.1.0
-- @since 0.2.0
instance ( QC.Arbitrary ann, NinjaConstraint QC.Arbitrary ann
) => QC.Arbitrary (Ninja ann) where
arbitrary = MkNinja
Expand Down
2 changes: 1 addition & 1 deletion library/Language/Ninja/AST/Rule.hs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ instance (Aeson.FromJSON ann) => Aeson.FromJSON (Rule ann) where

-- | Reasonable 'QC.Arbitrary' instance for 'Rule'.
--
-- @since 0.1.0
-- @since 0.2.0
instance ( QC.Arbitrary ann, RuleConstraint QC.Arbitrary ann
) => QC.Arbitrary (Rule ann) where
arbitrary = MkRule <$> QC.arbitrary <*> QC.arbitrary
Expand Down
6 changes: 3 additions & 3 deletions library/Language/Ninja/Tutorial.hs
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ import Data.Versions (Version)
-- The command-line interface for @ninja-lex@ looks like this:
--
-- > $ ninja-lex --help
-- > ninja-lex version 0.1.0
-- > ninja-lex version 0.2.0
-- >
-- > Usage: ninja-lex (process | pretty)
-- >
Expand Down Expand Up @@ -404,7 +404,7 @@ import Data.Versions (Version)
-- The command-line interface for @ninja-parse@ looks like this:
--
-- > $ ninja-parse --help
-- > ninja-parse version 0.1.0
-- > ninja-parse version 0.2.0
-- >
-- > Usage: ninja-parse (process | pretty)
-- >
Expand Down Expand Up @@ -439,7 +439,7 @@ import Data.Versions (Version)
-- The command-line interface for @ninja-compile@ looks like this:
--
-- > $ ninja-compile --help
-- > ninja-compile version 0.1.0
-- > ninja-compile version 0.2.0
-- >
-- > Usage: ninja-compile [--input FILEPATH] [--output FILEPATH] [--machine-readable]
-- >
Expand Down
18 changes: 9 additions & 9 deletions nix/haskell/language-ninja.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
, cabal-doctest, containers, deepseq, doctest, flow, ghc
, haddock-api, haddock-library, hashable, intern, lens, megaparsec
, monad-mock, mtl, optparse-generic, QuickCheck
, quickcheck-instances, smallcheck, stdenv, system-filepath, tasty
, tasty-html, tasty-hunit, tasty-lens, tasty-quickcheck
, tasty-smallcheck, template-haskell, text, transformers, turtle
, unordered-containers, versions
, quickcheck-instances, semigroups, smallcheck, stdenv
, system-filepath, tasty, tasty-html, tasty-hunit, tasty-lens
, tasty-quickcheck, tasty-smallcheck, template-haskell, text
, transformers, turtle, unordered-containers, versions
}:
mkDerivation {
pname = "language-ninja";
version = "0.1.0";
version = "0.2.0";
src = ../..;
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
aeson base bytestring containers deepseq flow hashable intern lens
megaparsec mtl QuickCheck quickcheck-instances smallcheck
system-filepath text transformers unordered-containers versions
megaparsec mtl QuickCheck semigroups smallcheck system-filepath
text transformers unordered-containers versions
];
executableHaskellDepends = [
aeson aeson-pretty base flow lens mtl optparse-generic text
Expand All @@ -26,8 +26,8 @@ mkDerivation {
testHaskellDepends = [
aeson base bytestring cabal-doctest containers doctest flow ghc
haddock-api haddock-library hashable lens monad-mock mtl QuickCheck
quickcheck-instances smallcheck system-filepath tasty tasty-html
tasty-hunit tasty-lens tasty-quickcheck tasty-smallcheck
quickcheck-instances semigroups smallcheck system-filepath tasty
tasty-html tasty-hunit tasty-lens tasty-quickcheck tasty-smallcheck
template-haskell text transformers turtle unordered-containers
versions
];
Expand Down

0 comments on commit 6aaffea

Please sign in to comment.