Text file src/clean.rc

Documentation: Index

     1#!/bin/rc -e
     2# Copyright 2012 The Go Authors. All rights reserved.
     3# Use of this source code is governed by a BSD-style
     4# license that can be found in the LICENSE file.
     5
     6eval `{go tool dist env -9}
     7
     8if(! test -x $GOTOOLDIR/dist){
     9	echo 'cannot find $GOTOOLDIR/dist; nothing to clean' >[1=2]
    10	exit noclean
    11}
    12
    13$GOBIN/go clean -i std
    14$GOBIN/go tool dist clean
    15$GOBIN/go clean -i cmd

View as plain text