]> Cypherpunks repositories - gostls13.git/commit
cmd/pack: rewrite in Go
authorRob Pike <r@golang.org>
Wed, 15 Jan 2014 17:13:52 +0000 (09:13 -0800)
committerRob Pike <r@golang.org>
Wed, 15 Jan 2014 17:13:52 +0000 (09:13 -0800)
commitfdbf3d901b3c6c91ba0e5efe496f1518b53fd885
tree8ac2fd65d1d020093a877100befbffbfddd720a9
parentb3a3afc9b788597ead21ea4770c9679f31475f40
cmd/pack: rewrite in Go
Replace the pack command, a C program, with a clean reimplementation in Go.
It does not need to reproduce the full feature set and it is no longer used by
the build chain, but has a role in looking inside archives created by the build
chain directly.

Since it's not in C, it is no longer build by dist, so remove it from cmd/dist and
make it a "tool" in cmd/go terminology.

Fixes #2705

R=rsc, dave, minux.ma, josharian
CC=golang-codereviews
https://golang.org/cl/52310044
src/cmd/dist/build.c
src/cmd/go/pkg.go
src/cmd/pack/Makefile [deleted file]
src/cmd/pack/ar.c [deleted file]
src/cmd/pack/doc.go
src/cmd/pack/pack.go [new file with mode: 0644]
src/cmd/pack/pack_test.go [new file with mode: 0644]