• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bare-ts / tools / 5417308081
93%

Build:
DEFAULT BRANCH: main
Ran 29 Jun 2023 10:28PM UTC
Jobs 1
Files 15
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Canceled at 20 Aug 2024 09:52AM UTC via web
5417308081

push

github

Conaclos
feat: promote regular comments to doc-comments

BREAKING CHANGES: use regular comments instead

Previously, _bare-ts_ introduced a special syntax for doc-comments:

```bare
type Gender enum {
    ## Be inclusive :)
    FLUID
    MALE
    ## One is not born, but becomes a woman
    ##                  -- Simone de Beauvoir
    FEMALE
}

type Person {
    ## person's name
    name: str
    ## person's gender
    gender: optional<Gender>
}
```

This syntax is not part of the _BARE_ specification.
Thus, the syntax is not portable between _BARE__ implementations.
To avoid this issue, _bare-ts__ now uses regular comments as doc-comments.
Every comment that precedes a type definition, an enum value, or a field is a doc-comment.
The previous schema can now be written as follows:

```bare
type Gender enum {
    # Be inclusive :)
    FLUID
    MALE
    # One is not born, but becomes a woman
    #                  -- Simone de Beauvoir
    FEMALE
}

type Person {
    # person's name
    name: str
    # person's gender
    gender: optional<Gender>
}
```

839 of 920 branches covered (91.2%)

Branch coverage included in aggregate %.

2545 of 2711 relevant lines covered (93.88%)

243.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5417308081.1 29 Jun 2023 10:28PM UTC 0
93.2
GitHub Action Run
Source Files on build 5417308081
Detailed source file information is not available for this build.
  • Back to Repo
  • a610388b on github
  • Prev Build on main (#5400378147)
  • Next Build on main (#5458724112)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc