Files
gonum/graph/formats/dot/internal/paste_copyright.bash
mewmew 4e95d5c920 graph/formats/dot: simplify parser generator Makefile
Gocc now generated output which conforms to gofmt
(goccmack/gocc#36 has been resolved).

Simplify the Makefile by removing the goimports invokation.
2017-07-24 20:54:05 +09:30

18 lines
560 B
Bash
Executable File

#!/usr/bin/env bash
find . -type f -name '*.go' \
| xargs sed -i -e "s|// Code generated by gocc; DO NOT EDIT.|\
// Code generated by gocc; DO NOT EDIT.\n\
\n\
// This file is dual licensed under CC0 and The gonum license.\n\
//\n\
// Copyright ©2017 The gonum Authors. All rights reserved.\n\
// Use of this source code is governed by a BSD-style\n\
// license that can be found in the LICENSE file.\n\
//\n\
// Copyright ©2017 Robin Eklind.\n\
// This file is made available under a Creative Commons CC0 1.0\n\
// Universal Public Domain Dedication.\
|"