blob: 0fcef14b2e3c7c99d01488883b08aa3b0eb7c534 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package tool contains abstractions for working with developer
// tools. In particular:
//
// 1) It contains global variables that can be used to store
// attributes of a tool. Automated builds can set these values to
// something meaningful as follows:
//
// go build -ldflags "-X go.fuchsia.dev/jiri/tool.<key> <value>" go.fuchsia.dev/jiri/<tool>
//
// 2) It provides the Context type, which encapsulates the state and
// abstractions commonly accessed throughout the lifetime of a tool
// invocation.
package tool