Skip to content

Commit 30db545

Browse files
committed
chore: Add tox_options.h to the public API.
1 parent e42ad50 commit 30db545

File tree

4 files changed

+36
-13
lines changed

4 files changed

+36
-13
lines changed

.circleci/config.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
version: 2
3+
4+
workflows:
5+
version: 2
6+
circleci:
7+
jobs:
8+
- bazel-opt
9+
10+
jobs:
11+
bazel-opt:
12+
working_directory: /tmp/cirrus-ci-build
13+
docker:
14+
- image: toxchat/toktok-stack:latest-release
15+
16+
steps:
17+
- checkout
18+
- run: /src/workspace/tools/inject-repo hs-tokstyle
19+
- run: cd /src/workspace && bazel test -k //hs-tokstyle/...

.cirrus.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
---
2-
bazel-opt_task:
3-
container:
4-
image: toxchat/toktok-stack:latest-release
5-
cpu: 2
6-
memory: 6G
7-
configure_script:
8-
- /src/workspace/tools/inject-repo hs-tokstyle
9-
test_all_script:
10-
- cd /src/workspace && bazel test -k
11-
--config=ci
12-
//hs-tokstyle/...
1+
# ---
2+
# bazel-opt_task:
3+
# container:
4+
# image: toxchat/toktok-stack:latest-release
5+
# cpu: 2
6+
# memory: 6G
7+
# configure_script:
8+
# - /src/workspace/tools/inject-repo hs-tokstyle
9+
# test_all_script:
10+
# - cd /src/workspace && bazel test -k
11+
# --config=ci
12+
# //hs-tokstyle/...

BUILD.bazel

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ load("@rules_haskell//haskell:defs.bzl", "haskell_library")
22
load("//third_party/haskell/hspec-discover:build_defs.bzl", "hspec_test")
33
load("//tools/project:build_defs.bzl", "project")
44

5-
project(license = "gpl3-https")
5+
project(
6+
custom_cirrus = True,
7+
license = "gpl3-https",
8+
)
69

710
haskell_library(
811
name = "c-linters",

src/Tokstyle/Linter/MissingNonNull.hs

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ exemptions =
7878
, "tox.h"
7979
, "tox_dispatch.h"
8080
, "tox_events.h"
81+
, "tox_options.h"
8182
, "tox_private.h"
8283
, "toxav.h"
8384
, "toxencryptsave.h"

0 commit comments

Comments
 (0)