forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
71 lines (68 loc) · 2.23 KB
/
BUILD
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Copyright 2020 Pants project contributors (see CONTRIBUTORS.md).
# Licensed under the Apache License, Version 2.0 (see LICENSE).
python_library(
dependencies = [
'3rdparty/python:dataclasses',
'src/python/pants/base:build_root',
'src/python/pants/base:exiter',
'src/python/pants/base:specs',
'src/python/pants/core/util_rules',
'src/python/pants/engine:addresses',
'src/python/pants/engine:collection',
'src/python/pants/engine:console',
'src/python/pants/engine:desktop',
'src/python/pants/engine:fs',
'src/python/pants/engine:goal',
'src/python/pants/engine:interactive_process',
'src/python/pants/engine:process',
'src/python/pants/engine:rules',
'src/python/pants/engine:selectors',
'src/python/pants/engine:target',
'src/python/pants/engine:unions',
'src/python/pants/option:global_options',
'src/python/pants/util:contextutil',
],
)
python_tests(
name = "tests",
sources=['*_test.py', '!*_integration_test.py'],
dependencies = [
'3rdparty/python:dataclasses',
':goals',
'src/python/pants/base:exceptions',
'src/python/pants/base:specs',
'src/python/pants/core/util_rules',
'src/python/pants/engine:addresses',
'src/python/pants/engine:console',
'src/python/pants/engine:fs',
'src/python/pants/engine:interactive_process',
'src/python/pants/engine:rules',
'src/python/pants/engine:target',
'src/python/pants/engine:unions',
'src/python/pants/testutil/engine',
'src/python/pants/testutil:test_base',
'src/python/pants/option:global_options',
'src/python/pants/util:ordered_set',
],
)
python_tests(
name='integration',
sources=['*_integration_test.py'],
dependencies=[
':goals',
'examples/src/python/example:hello_directory',
'src/python/pants/backend/python/rules',
'src/python/pants/backend/python/subsystems',
'src/python/pants/build_graph',
'src/python/pants/core/util_rules',
'src/python/pants/engine:fs',
'src/python/pants/engine:interactive_process',
'src/python/pants/engine:rules',
'src/python/pants/testutil:goal_rule_test_base',
'src/python/pants/testutil:int-test',
'//:isort_cfg',
'examples:isort_cfg',
],
tags = ['integration'],
timeout = 240,
)