File: generate.sh

package info (click to toggle)
golang-github-nicksnyder-go-i18n.v2 2.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 464 kB
  • sloc: xml: 198; sh: 5; makefile: 3
file content (6 lines) | stat: -rw-r--r-- 195 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
#!/bin/sh
OUT=..
go build && ./codegen -cout $OUT/rule_gen.go -tout $OUT/rule_gen_test.go && \
    gofmt -w=true $OUT/rule_gen.go && \
    gofmt -w=true $OUT/rule_gen_test.go && \
    rm codegen