Debian Codegraph @

build.sh

raw symbols SCIP
1 #!/usr/bin/env bash
2
3 git submodule update --recursive --remote
4
5 # Strip out empty lines and comments for conciseness:
6 yaml=`cat uap-core/regexes.yaml | sed '/\s*#/d' | sed '/^\s*$/d'`
7
8 # Build and format a Go file including our sources:
9 echo "package uaparser
10 var DefinitionYaml = []byte(\`$yaml\`)" | gofmt > uaparser/yaml.go