...

Text file src/github.com/lestrrat-go/jwx/jwa/gen.sh

Documentation: github.com/lestrrat-go/jwx/jwa

     1#!/bin/bash
     2
     3# Script to perform code generation. This exists to overcome
     4# the fact that go:generate doesn't really allow you to change directories
     5
     6set -e
     7
     8pushd internal/cmd/gentypes
     9go build -o gentypes main.go
    10popd
    11
    12./internal/cmd/gentypes/gentypes -objects=internal/cmd/gentypes/objects.yml
    13
    14rm internal/cmd/gentypes/gentypes

View as plain text