| 1 |
# Copyright 2012 The Go Authors. All rights reserved. |
| 2 |
# Use of this source code is governed by a BSD-style |
| 3 |
# license that can be found in the LICENSE file. |
| 4 |
|
| 5 |
# Run go tool dist to install a command. |
| 6 |
# The -v causes dist to print the name of each directory as it runs. |
| 7 |
# The -vv causes dist to print each build command as it runs. |
| 8 |
# go tool dist clean cleans all directories, not just this one, |
| 9 |
# but it's as close as we can get. |
| 10 |
|
| 11 |
# Default target (first). |
| 12 |
install: |
| 13 |
go tool dist install -v |
| 14 |
|
| 15 |
verbose: |
| 16 |
go tool dist install -vv |
| 17 |
|
| 18 |
clean: |
| 19 |
go tool dist clean |