Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move Blammo into a subdirectory #46

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jobs:
- uses: haskell-actions/hlint-run@v2
with:
fail-on: warning
path: '["src/", "tests/"]'
path: '["Blammo/src/", "Blammo/tests/"]'
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,27 @@ on:
jobs:
release:
runs-on: ubuntu-latest

strategy:
matrix:
package:
- Blammo
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I regret this capitalization.


steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- id: tag
uses: freckle/haskell-tag-action@v1
with:
package-yaml: ${{ matrix.package }}/package.yaml
tag-prefix: ${{ matrix.package }}-v
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- if: steps.tag.outputs.tag
uses: freckle/stack-upload-action@v2
run: stack upload --pvp-bounds lower
with:
working-directory: ${{ matrix.package }}
env:
HACKAGE_API_KEY: ${{ secrets.HACKAGE_UPLOAD_API_KEY }}
HACKAGE_KEY: ${{ secrets.HACKAGE_UPLOAD_API_KEY }}
STACK_YAML: ../stack-lts-14.27.yaml
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ appendLogStr (LoggedMessages ref) str =
appendLogStrLn :: MonadIO m => LoggedMessages -> LogStr -> m ()
appendLogStrLn lm = appendLogStr lm . (<> "\n")

getLoggedMessages :: MonadIO m => LoggedMessages -> m [Either String LoggedMessage]
getLoggedMessages
:: MonadIO m => LoggedMessages -> m [Either String LoggedMessage]
getLoggedMessages (LoggedMessages ref) =
map (eitherDecodeStrict . fromLogStr) . DList.toList <$> readIORef ref
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions stack-lts-14.27.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ extra-deps:
- hspec-discover-2.7.9
- primitive-0.7.4.0
- these-1.1

packages:
- Blammo
3 changes: 3 additions & 0 deletions stack-lts-16.31.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ extra-deps:
- monad-logger-0.3.39
- monad-logger-aeson-0.4.0.3
- context-0.2.0.0

packages:
- Blammo
3 changes: 3 additions & 0 deletions stack-lts-18.28.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ extra-deps:
- monad-logger-0.3.39
- monad-logger-aeson-0.4.0.3
- context-0.2.0.0

packages:
- Blammo
3 changes: 3 additions & 0 deletions stack-lts-19.33.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ extra-deps:
- monad-logger-0.3.39
- monad-logger-aeson-0.4.0.3
- context-0.2.0.1

packages:
- Blammo
3 changes: 3 additions & 0 deletions stack-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ extra-deps:
allow-newer: true
allow-newer-deps:
- monad-logger-aeson

packages:
- Blammo
3 changes: 3 additions & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ extra-deps:
allow-newer: true
allow-newer-deps:
- monad-logger-aeson

packages:
- Blammo
Loading