DEVELOPMENT ENVIRONMENT

~liljamo/emerwen-web

ref: 14e0729381328bc2af9840dce46025c829b2aa2c emerwen-web/justfile -rw-r--r-- 422 bytes
14e07293Jonni Liljamo fix(components): better base layout 21 hours 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