2015-08-28 15:08:51 -06:00
|
|
|
#!/bin/bash
|
2015-11-12 15:57:53 -07:00
|
|
|
# Copyright 2015 The Go Authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style
|
|
|
|
# license that can be found in the LICENSE file.
|
2015-08-28 15:08:51 -06:00
|
|
|
|
2017-10-02 12:57:31 -06:00
|
|
|
# This script regenerates deps.go.
|
|
|
|
# The script used to do all the work, but now a Go program does.
|
|
|
|
# The script has been preserved so that people who learned to type
|
|
|
|
# ./mkdeps.bash don't have to relearn a new method.
|
|
|
|
# It's fine to run "go run mkdeps.go" directly instead.
|
2015-11-19 12:43:27 -07:00
|
|
|
|
2017-10-02 12:57:31 -06:00
|
|
|
set -e
|
|
|
|
go run mkdeps.go -- "$@"
|
|
|
|
exit 0
|