-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from fujimura/use-cabal-3
Use cabal 3
- Loading branch information
Showing
6 changed files
with
80 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
on: [push] | ||
name: test | ||
jobs: | ||
test: | ||
name: Run test on GHC ${{ matrix.ghc }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ghc: ['latest'] | ||
cabal: ['latest'] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Haskell | ||
uses: haskell/actions/setup@v1 | ||
with: | ||
ghc-version: ${{ matrix.ghc }} | ||
cabal-version: ${{ matrix.cabal }} | ||
- run: cabal test --test-show-details=direct | ||
build: | ||
name: Build on GHC ${{ matrix.ghc }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ghc: ['latest'] | ||
cabal: ['latest'] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Haskell | ||
uses: haskell/actions/setup@v1 | ||
with: | ||
ghc-version: ${{ matrix.ghc }} | ||
cabal-version: ${{ matrix.cabal }} | ||
- run: cabal build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
dist | ||
cabal-dev | ||
*.o | ||
*.hi | ||
*.chi | ||
*.chs.h | ||
.virthualenv | ||
.hsenv | ||
.cabal-sandbox/ | ||
cabal.sandbox.config | ||
.stack-work/ | ||
dist-newstyle | ||
hie.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,49 @@ | ||
name: git-freq | ||
version: 0.0.3 | ||
cabal-version: >=1.10 | ||
build-type: Simple | ||
license: BSD3 | ||
license-file: LICENSE | ||
maintainer: Fujimura Daisuke<[email protected]> | ||
homepage: https://github.com/fujimura/git-freq | ||
synopsis: A Git subcommand to show total addition, deletion per file | ||
description: | ||
A Git subcommand to show total addition, deletion per file | ||
author: Fujimura Daisuke<[email protected]> | ||
cabal-version: 2.2 | ||
name: git-freq | ||
version: 0.0.3 | ||
build-type: Simple | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
maintainer: Fujimura Daisuke<[email protected]> | ||
homepage: https://github.com/fujimura/git-freq | ||
synopsis: A Git subcommand to show total addition, deletion per file | ||
description: A Git subcommand to show total addition, deletion per file | ||
author: Fujimura Daisuke<[email protected]> | ||
|
||
source-repository head | ||
type: git | ||
location: [email protected]:fujimura/git-freq.git | ||
type: git | ||
location: [email protected]:fujimura/git-freq.git | ||
|
||
common default | ||
default-language: Haskell2010 | ||
ghc-options: -Wall -fno-warn-name-shadowing | ||
|
||
common dependencies | ||
build-depends: | ||
, base >=4 && <5 | ||
, bytestring | ||
, containers | ||
, io-streams | ||
, optparse-applicative | ||
, process | ||
, text | ||
|
||
executable git-freq | ||
main-is: Main.hs | ||
build-depends: | ||
base >=4 && <5, | ||
bytestring -any, | ||
containers -any, | ||
io-streams -any, | ||
optparse-applicative -any, | ||
process -any, | ||
text -any | ||
default-language: Haskell2010 | ||
hs-source-dirs: src | ||
other-modules: | ||
Git.Freq | ||
ghc-options: -Wall -fno-warn-name-shadowing | ||
import: dependencies, default | ||
main-is: Main.hs | ||
hs-source-dirs: src | ||
other-modules: | ||
Git.Freq | ||
Paths_git_freq | ||
|
||
test-suite spec | ||
type: exitcode-stdio-1.0 | ||
main-is: Spec.hs | ||
build-depends: | ||
base -any, | ||
bytestring -any, | ||
containers -any, | ||
io-streams -any, | ||
hspec -any, | ||
optparse-applicative -any, | ||
process -any, | ||
text -any | ||
default-language: Haskell2010 | ||
hs-source-dirs: src test | ||
ghc-options: -Wall -fno-warn-name-shadowing | ||
import: dependencies, default | ||
type: exitcode-stdio-1.0 | ||
main-is: Spec.hs | ||
build-depends: hspec | ||
build-tool-depends: hspec-discover:hspec-discover -any | ||
hs-source-dirs: src test | ||
other-modules: | ||
Git.Freq | ||
Git.FreqSpec | ||
Paths_git_freq |
This file was deleted.
Oops, something went wrong.