# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           golang 1.0

go.setup            github.com/tilt-dev/tilt 0.31.1 v
revision            0

categories          devel
maintainers         nomaintainer
platforms           darwin
license             Apache-2

description         Run Kubernetes environments locally, for local development

long_description    Tilt powers multi-service development and makes sure they \
                    behave! Run tilt up to work in a complete dev environment \
                    configured for your team. \
                    \
                    Tilt automates all the steps from a code change to a new \
                    process: watching files, building container images, and \
                    bringing your environment up-to-date. Think docker build \
                    && kubectl apply or docker-compose up.

homepage            https://tilt.dev/

checksums           rmd160  9c6dd7efbab83083e56c84c8813c22899d965c0e \
                    sha256  fec1d43680ec73dadec2b1c1cdedc42741e57e908a2f4df5c79320ea1e244f96 \
                    size    17555552

depends_build-append \
                    port:yarn \
                    path:bin/node:nodejs16

# Required to prevent -j flags from being appended to the build command.
build.jobs          -1

build.cmd           "make build-js && ${go.bin} build -mod vendor ./cmd/tilt"
build.env-replace   GO111MODULE=off GO111MODULE=on

destroot {
    xinstall -m 0755 ${build.dir}/${name} ${destroot}${prefix}/bin/
}