github.com/m3db/m3@v1.5.1-0.20231129193456-75a402aa583b/src/query/generated/assets/asset-gen.sh (about) 1 #!/bin/sh 2 3 ASSET_SRC=$1 4 for i in "$ASSET_SRC"/*; do 5 if ! [ -d $i ]; then 6 continue 7 fi 8 9 echo "generating from $i" 10 esc -modtime "12345" -prefix "${i##*/}/" -pkg "${i##*/}" -ignore .go -o "${i##*/}/assets.go" "." 11 done