Skip to content

Commit

Permalink
Just cause
Browse files Browse the repository at this point in the history
  • Loading branch information
The1Penguin committed Oct 25, 2024
1 parent c05679c commit 2f7a45e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ cachix use pingu # Probably more up to date as of 5/6-24
Currently, the css framework used is [TailwindCSS](https://tailwindcss.com).
To generate css, you can use the [Tailwinds cli](https://tailwindcss.com/blog/standalone-cli) program to generate the new css by running `tailwindcss --content src/View.hs --output static/style.css --minify`.

Worth noting is that the css is embedded in the binary, and changes to it aren't well captured by cabal, so `cabal clean && cabal run` or `make up` that fixes the css file and then runs the program.
Worth noting is that the css is embedded in the binary, and changes to it aren't well captured by cabal, so `cabal clean && cabal run` or `just up` that fixes the css file and then runs the program.
When running `docker compose up --build`, the css file will be generated by it self.

## Credits
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
(with pkgs; [
zlib
tailwindcss
just
]) ++
(with haskellPackages; [
haskell-language-server
Expand Down
2 changes: 1 addition & 1 deletion Makefile → justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: up
default: up

up:
tailwindcss --content src/View.hs --output static/style.css --minify
Expand Down

0 comments on commit 2f7a45e

Please sign in to comment.