Skip to content

Commit

Permalink
Drop Bazel Support
Browse files Browse the repository at this point in the history
  • Loading branch information
cpisciotta committed Jan 7, 2024
1 parent 1a2e8b3 commit bfe401e
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 110 deletions.
5 changes: 0 additions & 5 deletions .bazelrc

This file was deleted.

17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Similar to `xcpretty`, but faster.
- [x] Supports the new build system's output.
- [x] Supports Xcode's parallel testing output.
- [x] Supports formatting Swift Package Manager output.
- [x] Supports formatting Bazel output.
- [x] Supports generating JUnit reports.
- [x] Supports macOS & Linux.
- [x] Written in Swift: `xcbeautify` compiles to a static binary which you can
Expand Down Expand Up @@ -110,16 +109,6 @@ NSUnbufferedIO=YES xcodebuild [flags] 2>&1 | xcbeautify
swift test [flags] 2>&1 | xcbeautify
```

Parse Bazel's building and testing output:

```sh
set -o pipefail && bazel build //path/to/package:target 2>&1 | xcbeautify
```

```sh
set -o pipefail && bazel test //path/to/package:target 2>&1 | xcbeautify
```

### GitHub Actions

| ![GitHub Actions Summary](assets/gh-summary.png) |
Expand All @@ -144,12 +133,6 @@ Generate Xcode project:
make xcode
```

Build with Bazel:

```sh
bazel build //Sources/xcbeautify
```

Release a new version, e.g. `x.y.z`:

```bash
Expand Down
14 changes: 0 additions & 14 deletions Sources/XcbeautifyLib/BUILD

This file was deleted.

2 changes: 1 addition & 1 deletion Sources/XcbeautifyLib/CaptureGroups.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ struct CompileErrorCaptureGroup: CaptureGroup {
static let outputType: OutputType = .error

/// Regular expression captured groups:
/// $1 = file path (could be a relative path if you build with Bazel)
/// $1 = file path
/// $2 = is fatal error
/// $3 = reason
static let regex = Regex(pattern: #"^(([^:]*):*\d*:*\d*):\s(?:fatal\s)?error:\s(.*)$"#)
Expand Down
11 changes: 0 additions & 11 deletions Sources/xcbeautify/BUILD

This file was deleted.

7 changes: 0 additions & 7 deletions Tests/XcbeautifyLibTests/BUILD

This file was deleted.

38 changes: 0 additions & 38 deletions WORKSPACE

This file was deleted.

17 changes: 0 additions & 17 deletions external/External.BUILD

This file was deleted.

0 comments on commit bfe401e

Please sign in to comment.