github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/sigid/data/build.sh (about)

     1  #!/bin/sh
     2  
     3  ALL="sigids-1.0.16.txt"
     4  FIXES="sigid-fixes.txt"
     5  TMP=$(mktemp)
     6  
     7  grep -E '^h' $ALL > $TMP
     8  cat $FIXES | awk ' { print "g", $2 }' | sort >> $TMP
     9  iced3 mkdata.iced < $TMP > ../data.go
    10  iced3 mktest.iced < $TMP > ../data_test.go
    11  (cd .. && go fmt .)
    12  rm $TMP