DEVELOPMENT ENVIRONMENT

~liljamo/emerwen-web

ref: a20635584f23b381e2f025219d48ef23f2f13324 emerwen-web/justfile -rw-r--r-- 422 bytes
a2063558Jonni Liljamo chore: update flake inputs 4 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
_default:
    just --list

air *ARGS:
    #!/usr/bin/env bash
    export GIN_MODE=release
    air --build.cmd "go build -o ./tmp/emerwen-web cmd/emerwen-web/main.go" \
        --build.bin "./tmp/emerwen-web" \
        --build.exclude_dir "tmp" \
        --build.include_ext "go,tmpl" \
        -- {{ARGS}}

watch-templ-tailwindcss:
    templ generate --watch & tailwindcss -i input.css -o ./static/style.css --watch && fg