mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-04-24 19:57:47 +02:00
Project setup files
This commit is contained in:
parent
c36089b0a1
commit
1c24a6a1e5
3
.hlint.yaml
Normal file
3
.hlint.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
- ignore:
|
||||||
|
name: Redundant do
|
||||||
|
within: spec
|
||||||
21
.stylish-haskell.yaml
Normal file
21
.stylish-haskell.yaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
steps:
|
||||||
|
- simple_align:
|
||||||
|
cases: false
|
||||||
|
top_level_patterns: false
|
||||||
|
records: false
|
||||||
|
- imports:
|
||||||
|
align: none
|
||||||
|
list_align: after_alias
|
||||||
|
pad_module_names: false
|
||||||
|
long_list_align: new_line_multiline
|
||||||
|
empty_list_align: right_after
|
||||||
|
list_padding: 4
|
||||||
|
separate_lists: false
|
||||||
|
space_surround: false
|
||||||
|
- language_pragmas:
|
||||||
|
style: vertical
|
||||||
|
align: false
|
||||||
|
remove_redundant: true
|
||||||
|
- trailing_whitespace: {}
|
||||||
|
columns: 80
|
||||||
|
newline: native
|
||||||
26
Makefile
Normal file
26
Makefile
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
all: setup build test lint
|
||||||
|
|
||||||
|
.PHONY: setup
|
||||||
|
setup:
|
||||||
|
stack setup
|
||||||
|
stack build --dependencies-only --test --no-run-tests
|
||||||
|
stack install hlint weeder
|
||||||
|
|
||||||
|
.PHONY: build
|
||||||
|
build:
|
||||||
|
stack build --pedantic --test --no-run-tests
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
|
test:
|
||||||
|
stack test
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: lint
|
||||||
|
lint:
|
||||||
|
hlint src test
|
||||||
|
weeder .
|
||||||
|
|
||||||
|
.PHONY: check-nightly
|
||||||
|
check-nightly:
|
||||||
|
stack setup --resolver nightly
|
||||||
|
stack build --resolver nightly --pedantic --test
|
||||||
@ -1,8 +1,7 @@
|
|||||||
{-# LANGUAGE OverloadedStrings #-}
|
{-# LANGUAGE OverloadedStrings #-}
|
||||||
{-# LANGUAGE QuasiQuotes #-}
|
{-# LANGUAGE QuasiQuotes #-}
|
||||||
module URI.ByteString.ExtensionSpec
|
module URI.ByteString.ExtensionSpec
|
||||||
( main
|
( spec
|
||||||
, spec
|
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Test.Hspec
|
import Test.Hspec
|
||||||
@ -13,9 +12,6 @@ import URI.ByteString
|
|||||||
import URI.ByteString.Extension
|
import URI.ByteString.Extension
|
||||||
import URI.ByteString.QQ
|
import URI.ByteString.QQ
|
||||||
|
|
||||||
main :: IO ()
|
|
||||||
main = hspec spec
|
|
||||||
|
|
||||||
spec :: Spec
|
spec :: Spec
|
||||||
spec = do
|
spec = do
|
||||||
describe "IsString Scheme" $ it "works" $ do
|
describe "IsString Scheme" $ it "works" $ do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user