Spin out an internal/cgen/data directory

Grepping in internal/cgen/*.go will no longer also grep in the generated
data.go file.
This commit is contained in:
Nigel Tao committed 2020-06-05 10:36:17 +10:00
1 parent d0dec081a6
commit 527a9ac984
4 files changed
+81 -62

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
// Copyright 2020 The Wuffs Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//go:generate go run gen.go
// Package data contains the files in the sibling "../base" directory: the
// hand-written C code that is the 'runtime library' for Wuffs-transpiled-to-C.
// In this Go package, those files' contents are provided as string constants.
package data