Skip to content

Commit

Permalink
Merge pull request #3 from fujimura/renovate-tools
Browse files Browse the repository at this point in the history
Renovate development tools
  • Loading branch information
fujimura authored Jan 17, 2024
2 parents 728329b + f91c250 commit b127b25
Show file tree
Hide file tree
Showing 6 changed files with 107 additions and 116 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
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@v4
- name: Setup Haskell
uses: haskell-actions/setup@v2
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@v4
- name: Setup Haskell
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: cabal build
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dist
dist-newstyle
*.o
*.hi
*.chi
*.chs.h
.stack-work/
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# hs-git-gsub [![Circle CI](https://circleci.com/gh/fujimura/hs-git-gsub.svg?style=shield)](https://circleci.com/gh/fujimura/hs-git-gsub)
# hs-git-gsub ![ci](https://github.com/fujimura/hs-git-gsub/actions/workflows/ci.yaml/badge.svg)


A Git subcommand to do gsub in a repository

Expand Down
18 changes: 0 additions & 18 deletions circle.yml

This file was deleted.

137 changes: 71 additions & 66 deletions hs-git-gsub.cabal
Original file line number Diff line number Diff line change
@@ -1,76 +1,81 @@
name: hs-git-gsub
version: 0.1.0.0
name: hs-git-gsub
version: 0.1.0.0
cabal-version: >=1.10
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: MIT
maintainer: me@fujimuradaisuke.com
homepage: http://github.com/fujimura/hs-git-gsub#readme
synopsis: Initial project template from stack
description:
Please see README.md
category: Web
author: Daisuke Fujimura
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: MIT
maintainer: me@fujimuradaisuke.com
homepage: http://github.com/fujimura/hs-git-gsub#readme
synopsis: Initial project template from stack
description: Please see README.md
category: Web
author: Daisuke Fujimura

source-repository head
type: git
location: https://github.com/fujimura/hs-git-gsub
type: git
location: https://github.com/fujimura/hs-git-gsub

library
exposed-modules:
Lib
Cli
Types
build-depends:
base >=4.7 && <5,
process -any,
filepath -any,
directory -any,
optparse-applicative -any,
text -any,
temporary -any,
bytestring -any
default-language: Haskell2010
hs-source-dirs: src
other-modules:
Paths_hs_git_gsub
ghc-options: -Wall
exposed-modules:
Cli
Lib
Types

build-depends:
base >=4.7 && <5
, bytestring
, directory
, filepath
, optparse-applicative
, process
, temporary
, text

default-language: Haskell2010
hs-source-dirs: src
other-modules: Paths_hs_git_gsub
ghc-options: -Wall

executable git-gsub
main-is: Main.hs
build-depends:
base -any,
hs-git-gsub -any
default-language: Haskell2010
hs-source-dirs: app
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
main-is: Main.hs
build-depends:
base
, hs-git-gsub

default-language: Haskell2010
hs-source-dirs: app
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall

test-suite hs-git-gsub-test
type: exitcode-stdio-1.0
main-is: Spec.hs
build-depends:
base -any,
hspec >=2.0.0,
mockery -any,
directory -any,
filepath -any,
silently -any,
process -any,
interpolate -any,
temporary -any,
hs-git-gsub -any
default-language: Haskell2010
hs-source-dirs: test
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
type: exitcode-stdio-1.0
main-is: Spec.hs
build-depends:
base
, directory
, filepath
, hs-git-gsub
, hspec >=2.0.0
, interpolate
, mockery
, process
, silently
, temporary

default-language: Haskell2010
build-tool-depends: hspec-discover:hspec-discover
hs-source-dirs: test
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall

test-suite doctests
type: exitcode-stdio-1.0
main-is: doctests.hs
build-depends:
base -any,
doctest >=0.8,
process -any
hs-source-dirs: src test
other-modules:
Paths_hs_git_gsub
ghc-options: -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind -Wall
type: exitcode-stdio-1.0
main-is: doctests.hs
build-depends:
base
, doctest >=0.8
, process

hs-source-dirs: src test
other-modules: Paths_hs_git_gsub
ghc-options:
-threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind -Wall
30 changes: 0 additions & 30 deletions stack.yaml

This file was deleted.

0 comments on commit b127b25

Please sign in to comment.