-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdef.bzl
32 lines (27 loc) · 864 Bytes
/
def.bzl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright Jay Conrod. All rights reserved.
# This file is part of rules_go_simple. Use of this source code is governed by
# the 3-clause BSD license that can be found in the LICENSE.txt file.
"""def.bzl contains public definitions for rules_go_simple.
These definitions may be used by Bazel projects for building Go programs.
These definitions should be loaded from here, not any internal directory.
Internal definitions may change without notice.
"""
load(
"//internal:rules.bzl",
_go_binary = "go_binary",
_go_library = "go_library",
_go_test = "go_test",
)
load(
"//internal:providers.bzl",
_GoLibraryInfo = "GoLibraryInfo",
)
load(
"//internal:toolchain.bzl",
_go_toolchain = "go_toolchain",
)
go_binary = _go_binary
go_library = _go_library
go_test = _go_test
go_toolchain = _go_toolchain
GoLibraryInfo = _GoLibraryInfo