kowainik / kowainik/summoner

Build Summoner with -Werror on CI

Open
#532 0 comments 1 reaction 0 assignees View on GitHub
CI
Dominant language
Haskell
Stars
711
Forks
73
PR merge metrics
No merged PRs in 30d

Description

So we can catch all warnings earlier. Due to some challenges with specifying `-Werror` for `cabal` only on CI (see #173 for more details), I propose to add `-Werror` as a CLI argument to Stack.

Ideally, we also want to build all our generated test projects with `-Werror` to be sure that we don't generate projects with warnings, but that's a separate issue I guess.

Contributor guide

Open the contributing guide

Research direction

Read issue #173 for the challenges around passing -Werror through cabal, then inspect Stack's CLI argument handling and the CI build configuration. Done means CI builds Summoner with -Werror enabled and fails on compiler warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system, ci-cd, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.