mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-11 22:49:54 +00:00
Guard against enterprise code being imported in OSS (#432)
Export-Source-Commit: 3c11f109f6efba5f875993e47171e52119ed9378
This commit is contained in:
@@ -100,6 +100,14 @@ linters:
|
|||||||
desc: lib/srv prevents client tools from build on non-linux platforms
|
desc: lib/srv prevents client tools from build on non-linux platforms
|
||||||
- pkg: github.com/gravitational/teleport/lib/web$
|
- pkg: github.com/gravitational/teleport/lib/web$
|
||||||
desc: lib/web should not be imported to prevent increasing binary size
|
desc: lib/web should not be imported to prevent increasing binary size
|
||||||
|
enterprise:
|
||||||
|
files:
|
||||||
|
- '!**/e/**'
|
||||||
|
deny:
|
||||||
|
- pkg: github.com/gravitational/teleport/e/
|
||||||
|
desc: enterprise packages should not be imported outside of the "e" directory
|
||||||
|
- pkg: github.com/gravitational/teleport/e$
|
||||||
|
desc: enterprise packages should not be imported outside of the "e" directory
|
||||||
go-cmp:
|
go-cmp:
|
||||||
files:
|
files:
|
||||||
- '!$test'
|
- '!$test'
|
||||||
|
|||||||
Reference in New Issue
Block a user