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

Use GHC 9.2.3 #25

Merged
merged 8 commits into from
Jul 17, 2022
Merged

Use GHC 9.2.3 #25

merged 8 commits into from
Jul 17, 2022

Conversation

srid
Copy link
Owner

@srid srid commented Jul 17, 2022

Just to avoid having to specify WithSubRoutes every time. This does mean that users will have to use garnix cache when basing their app off ema-template. That's a minor inconvenience but it is temporary (until Stackage switches to GHC 9.2).

@srid srid merged commit 4394be2 into multisite Jul 17, 2022
srid added a commit that referenced this pull request Aug 7, 2022
* Use multisite refactor of Ema, and new unionmount

Split sites into two.

* Update ema, for new API

* Update ema -- mega update

* Update ema

* Muiti site demo

* cleanup

* Add hercules CI setting to flake.nix

* Update ema

* direnv

* Add treefmt

* enable fourmolu

* cleanup flake

* Add fourmolu config

* rm tmux

* note about static site url hack

* Redundant

* Update ema, etc.

* Sync with haskell-template

* format cabal file

* nix: remove path-tree (now on hackage)

* unionmount on Hackage

* remove hercules

* ci: cleanup

* static: SOP not needed

* Pass SiteArg to both apps, removing hardcoding

* nix: Update all inputs

* cabal: Add -threaded (resolves #23)

* Update ema, and use haskell-flake for nix

* Redundant

* Some doc touches

* Clean up a bit, and use unionmount upstream

* Revamp static file handling

* Remove metadata stuff

* fix static links

* remove format

* fix index.md

* no flake-compat

* Add tailwind.css to repo

* mark as autogenerated

* Precise route encoder; handle missing .md routes

* cleanups

* remove breadcrumbs; other cleanups

* Use combineRouteEncoder

* Advance Ema, to use new generics

* Introduce SlugListRoute (decomposes better)

* More safer static URL handling

* Remove uuid hack; store lastAccessed in StaticRoute model

The lastAccessed time is used to force-reload CSS and such in the
browser. Keeping it in model is nifty.

* Update ema

* vscode: add manageHLS

* Add hlint.yaml

* Add bin/hoogle

* Apply hlints

* Update ema, and use StaticRoute

* Update ema

* Rewrite template using basic example

* Use GHC 9.2.3 (#25)

* Add/use garnix cache

* nix: Use GHC 9.2.3

* Drop WithSubRoutes, because ghc 9.2

* Update ema, and use TH

cf. srid/ema#103

* streaming-commons

* http2 too

* readme: mention garnix

* garnix: disable M1 devShell

* Advance ema

* Simplify shell.nix

* nix: Update inputs

* Update ema, and nixpkgs

* mv DAC

* Re-enable cabal-fmt

* Add cli argument handling, including setting of baseurl

* use baseurl in ci

* nix run tailwind

* simplify

* use ema master branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant