Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Side by Side Diff: tools/cmd/cproto/testdata/retrain.sh

Issue 1605363002: common/prpc, tools/cmd/cproto: prpc client (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: rebased and addressed comments Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # Copyright 2016 The Chromium Authors. All rights reserved. 2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 cd ${0%/*} 6 cd ${0%/*}
7 go install .. 7 go install ..
8 8
9 for dir in */; do 9 for dir in */; do
10 pushd $dir 10 pushd $dir
11 cproto 11 cproto
12 for go in *.go; do 12 for go in *.go; do
13 mv $go ${go%*.go}.golden 13 golden=${go%*.go}.golden
14 mv $go $golden
15 gofmt -w -s $golden
14 done 16 done
15 popd 17 popd
16 done 18 done
OLDNEW
« no previous file with comments | « tools/cmd/cproto/testdata/importGoogle/test.pb.golden ('k') | tools/cmd/cproto/testdata/twoFiles/1.pb.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698