From 602cfd671f394407d29ba9b8f42bc9e839ee3575 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Sat, 24 Aug 2024 11:34:18 +0300 Subject: [PATCH] doc: testscript install instructions --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bd1b79cb..b4b7bfba 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,13 @@ The most popular package here is the [testscript](https://pkg.go.dev/github.com/ * Accompanied by a [testscript](https://github.com/rogpeppe/go-internal/tree/master/cmd/testscript) command for running standalone scripts with files embedded in txtar format. - A nice introduction to using testscripts is this [blog post](https://bitfieldconsulting.com/golang/test-scripts) series. - Both testscript and txtar were [originally created](https://github.com/golang/go/commit/5890e25b7ccb2d2249b2f8a02ef5dbc36047868b) - by Russ Cox. +A nice introduction to using testscripts is this [blog post](https://bitfieldconsulting.com/golang/test-scripts) series. +Both testscript and txtar were [originally created](https://github.com/golang/go/commit/5890e25b7ccb2d2249b2f8a02ef5dbc36047868b) +by Russ Cox. + +`testscript` is [packaged for Homebrew](https://github.com/Homebrew/homebrew-core/blob/master/Formula/t/testscript.rb) +and can be installed with: + +```sh +brew install testscript +```