DEVELOPMENT ENVIRONMENT

~liljamo/emerwen-web

ref: 797037fe5da9b632166a17b9e7f57ec2ae0d35e3 emerwen-web/justfile -rw-r--r-- 422 bytes
797037feJonni Liljamo feat: conform to new protocol changes 22 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