Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Phix #1111

Closed
wants to merge 62 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
a84b7c0
Update CI badge in README.md (#4)
BNAndras Nov 2, 2023
6bd8764
Add test workflow (#7)
ErikSchierboom Nov 3, 2023
d7ec161
Add support for 8th (#1)
glennj Nov 3, 2023
f4c6b10
add wren support (#8)
glennj Nov 3, 2023
ea350a8
Trigger lines of code counter redeploy (#9)
ErikSchierboom Nov 7, 2023
c3d4a35
Add pyret (#10)
BNAndras Nov 9, 2023
48b5ae3
Add LFE support (#6)
BNAndras Nov 9, 2023
f2a342a
Adding Pharo to the existing Smalltalk languages (#11)
glennj Nov 16, 2023
243d03e
Add support for Red (exercism fork) (#12)
loziniak Feb 14, 2024
dec9cf6
add euphoria (#13)
glennj Apr 9, 2024
72c7ea3
Add Arturo support (#14)
ErikSchierboom Jun 6, 2024
7d0f8db
Update mean_bean_ci.yml
XAMPPRocky Nov 21, 2023
d4b19d4
fixed language names not showing when in Light mode (light background…
Alexe1289 Jan 9, 2024
f2b07b3
Create release-plz.yaml
XAMPPRocky Mar 4, 2024
cd5445f
chore: release (#1070)
github-actions[bot] Mar 4, 2024
a08277a
Update mean_bean_deploy.yml
XAMPPRocky Mar 4, 2024
68bfbfb
README.md: link to earthly project (#1078)
ecki Mar 24, 2024
4e23886
Added support for Circom (#949)
fegge May 2, 2024
b4f289c
Update TypeScript language (#953)
alii May 2, 2024
372bd80
Add language support for Slang (#956)
halli2 May 2, 2024
d387a9f
Add support for Chapel (#960)
nathanielknight May 2, 2024
ea93519
Add Max support (#963)
mbyt May 2, 2024
bbcaa49
Add Hare support (#971)
jgarte May 2, 2024
83cf62a
Add arch's PKGBUILD files (#972)
wanesty May 2, 2024
b7624ab
Add support for Razor Components (#992)
meenzen May 2, 2024
fde0238
Add lingua franca language (#993)
oowekyala May 2, 2024
65fca5e
remove refs (#1006)
Embers-of-the-Fire May 2, 2024
cc362ff
Add PRQL (#1030)
vanillajonathan May 2, 2024
2c899f3
Add the ZoKrates language (#1035)
alex-ozdemir May 2, 2024
52df651
add: typst (#1037)
leana8959 May 2, 2024
d076c9d
Add OpenQASM support (#1041)
mtreinish May 2, 2024
ade0e4d
Add Janet to languages.json (#1042)
archydragon May 2, 2024
4065576
Adding support for Snakemake (#1045)
dfm May 2, 2024
16ecfa0
add luau extension to lua (#1066)
jackdotink May 2, 2024
f2ae326
Support .pyi python file (#1075)
konstin May 2, 2024
adfa0fe
feat: add support for LALRPOP (#1077)
abiriadev May 2, 2024
0279552
Temporarily remove Hare
XAMPPRocky May 6, 2024
0f888ec
Fix slang (#1089)
SandaruKasa May 6, 2024
7fa90f2
languages.json: add jinja extension for Jinja2 (#1083)
akx May 6, 2024
8712a95
Add OpenSCAD (#1097)
kenchou May 13, 2024
6321d5c
Support MoonBit language. (#1095)
fuchen May 13, 2024
87277e5
fix: read hidden from config file (#1093)
SVendittelli May 13, 2024
9177c56
feat: --files argument now sorts alphabetically (#1059)
Alexe1289 May 13, 2024
ae39d6f
GitHub Action to publish docker images (#1096)
DCjanus May 13, 2024
5820403
Add language support for Slang (#956)
halli2 May 2, 2024
a7bcd4a
Add Hare support (#971)
jgarte May 2, 2024
d64cdd8
Add arch's PKGBUILD files (#972)
wanesty May 2, 2024
640cbe7
Add lingua franca language (#993)
oowekyala May 2, 2024
2245788
Add PRQL (#1030)
vanillajonathan May 2, 2024
5203a1f
Adding support for Snakemake (#1045)
dfm May 2, 2024
8246f91
Support .pyi python file (#1075)
konstin May 2, 2024
aa5a4dc
Temporarily remove Hare
XAMPPRocky May 6, 2024
3b709f3
Fix slang (#1089)
SandaruKasa May 6, 2024
7cfafa6
Support MoonBit language. (#1095)
fuchen May 13, 2024
bf52f8c
add phix support
petelomax Jun 10, 2024
5528333
Add Phix
petelomax Jun 12, 2024
5a6b5ad
Merge branch 'XAMPPRocky:master' into master
petelomax Aug 16, 2024
92ed855
Merge branch 'master' of https://github.com/petelomax/tokei
petelomax Aug 16, 2024
f648349
chore: release
github-actions[bot] Aug 16, 2024
34295e3
Merge pull request #1 from petelomax/release-plz-2024-08-16T22-16-54Z
petelomax Aug 17, 2024
b8d093c
Revert "Merge branch 'master' of https://github.com/petelomax/tokei"
petelomax Aug 17, 2024
14df3d1
undo
petelomax Aug 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Tests

on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:

jobs:
build_and_test:
runs-on: ubuntu-22.04
env:
platform: linux-musl
channel: stable
target: x86_64-unknown-linux-musl
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Download cross binary
run: ci/download_cross.bash $target $platform
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set Rust version
run: ci/set_rust_version.bash $channel $target
- name: Build
run: ci/build.bash $PWD/cross $target
- name: Run tests
run: ci/test.bash $PWD/cross $target
- name: Trigger lines of code counter re-deploy
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
run: ci/redeploy_lines_of_code_counter.bash
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOWS_PAT }}
37 changes: 6 additions & 31 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,37 +1,12 @@
# Created by https://www.toptal.com/developers/gitignore/api/rust
# Edit at https://www.toptal.com/developers/gitignore?templates=rust

### Rust ###
# Generated by Cargo
# will have compiled files and executables
debug/
target/

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# End of https://www.toptal.com/developers/gitignore/api/rust


### IDE ###
.vscode
.idea/
*.iml

### Other ###

# macOS
.DS_Store

# settings
target
src/test
.settings
.commit_message
*.bk
*.rustfmt
.DS_Store
.tokeirc

# benchmark
results.csv

node_modules
*.code-workspace
65 changes: 65 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,71 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [13.0.0-alpha.2](https://github.com/petelomax/tokei/compare/v13.0.0-alpha.1...v13.0.0-alpha.2) - 2024-08-16

### Added
- Add support for Monkey C ([#1081](https://github.com/petelomax/tokei/pull/1081))
- added plantuml support ([#1125](https://github.com/petelomax/tokei/pull/1125))
- add language Tact ([#1103](https://github.com/petelomax/tokei/pull/1103))
- add support for bicep ([#1100](https://github.com/petelomax/tokei/pull/1100))
- add hledger ([#1121](https://github.com/petelomax/tokei/pull/1121))
- add SELinux CIL policy source files ([#1124](https://github.com/petelomax/tokei/pull/1124))
- --files argument now sorts alphabetically ([#1059](https://github.com/petelomax/tokei/pull/1059))
- add support for LALRPOP ([#1077](https://github.com/petelomax/tokei/pull/1077))

### Fixed
- read hidden from config file ([#1093](https://github.com/petelomax/tokei/pull/1093))

### Other
- Merge branch 'master' of https://github.com/petelomax/tokei
- Merge branch 'XAMPPRocky:master' into master
- Add support for MDX ([#1046](https://github.com/petelomax/tokei/pull/1046))
- Add PRQL to README.md ([#1088](https://github.com/petelomax/tokei/pull/1088))
- add fypp extension `.fpp` to `languages.json` for Modern Fortran ([#1060](https://github.com/petelomax/tokei/pull/1060))
- Add support for Lex ([#1087](https://github.com/petelomax/tokei/pull/1087))
- Add d2 ([#1091](https://github.com/petelomax/tokei/pull/1091))
- Add support for Stata ([#1112](https://github.com/petelomax/tokei/pull/1112))
- Add support for CUE ([#1049](https://github.com/petelomax/tokei/pull/1049))
- bump libc from 0.2.147 to 0.2.155 ([#1104](https://github.com/petelomax/tokei/pull/1104))
- add cangjie language support ([#1127](https://github.com/petelomax/tokei/pull/1127)) ([#1128](https://github.com/petelomax/tokei/pull/1128))
- Add support for JSLT ([#1129](https://github.com/petelomax/tokei/pull/1129))
- Add Arturo support ([#1108](https://github.com/petelomax/tokei/pull/1108))
- Support Bazel's MODULE files and *.bzlmod files ([#1130](https://github.com/petelomax/tokei/pull/1130))
- read only first 128B from the file when searching for shebang ([#1040](https://github.com/petelomax/tokei/pull/1040))
- add OpenCL as a languages.json entry ([#980](https://github.com/petelomax/tokei/pull/980))
- Add GetText Portable Object (PO) files ([#814](https://github.com/petelomax/tokei/pull/814))
- Support godot shader ([#1118](https://github.com/petelomax/tokei/pull/1118))
- Add Modelica language ([#1061](https://github.com/petelomax/tokei/pull/1061))
- Add menhir support ([#781](https://github.com/petelomax/tokei/pull/781))
- Update README.md
- [issue_1114] remove Cargo.lock from .gitignore ([#1115](https://github.com/petelomax/tokei/pull/1115))
- [issue_891] give more space for Files column ([#933](https://github.com/petelomax/tokei/pull/933))
- GitHub Action to publish docker images ([#1096](https://github.com/petelomax/tokei/pull/1096))
- Support MoonBit language. ([#1095](https://github.com/petelomax/tokei/pull/1095))
- Add OpenSCAD ([#1097](https://github.com/petelomax/tokei/pull/1097))
- add jinja extension for Jinja2 ([#1083](https://github.com/petelomax/tokei/pull/1083))
- Fix slang ([#1089](https://github.com/petelomax/tokei/pull/1089))
- Temporarily remove Hare
- Support .pyi python file ([#1075](https://github.com/petelomax/tokei/pull/1075))
- add luau extension to lua ([#1066](https://github.com/petelomax/tokei/pull/1066))
- Adding support for Snakemake ([#1045](https://github.com/petelomax/tokei/pull/1045))
- Add Janet to languages.json ([#1042](https://github.com/petelomax/tokei/pull/1042))
- Add OpenQASM support ([#1041](https://github.com/petelomax/tokei/pull/1041))
- typst ([#1037](https://github.com/petelomax/tokei/pull/1037))
- Add the ZoKrates language ([#1035](https://github.com/petelomax/tokei/pull/1035))
- Add PRQL ([#1030](https://github.com/petelomax/tokei/pull/1030))
- remove refs ([#1006](https://github.com/petelomax/tokei/pull/1006))
- Add lingua franca language ([#993](https://github.com/petelomax/tokei/pull/993))
- Add support for Razor Components ([#992](https://github.com/petelomax/tokei/pull/992))
- Add arch's PKGBUILD files ([#972](https://github.com/petelomax/tokei/pull/972))
- Add Hare support ([#971](https://github.com/petelomax/tokei/pull/971))
- Add Max support ([#963](https://github.com/petelomax/tokei/pull/963))
- Add support for Chapel ([#960](https://github.com/petelomax/tokei/pull/960))
- Add language support for Slang ([#956](https://github.com/petelomax/tokei/pull/956))
- Update TypeScript language ([#953](https://github.com/petelomax/tokei/pull/953))
- Added support for Circom ([#949](https://github.com/petelomax/tokei/pull/949))
- link to earthly project ([#1078](https://github.com/petelomax/tokei/pull/1078))

## [13.0.0-alpha.1](https://github.com/XAMPPRocky/tokei/compare/v13.0.0-alpha.0...v13.0.0-alpha.1) - 2024-03-04

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ license = "MIT/Apache-2.0"
name = "tokei"
readme = "README.md"
repository = "https://github.com/XAMPPRocky/tokei.git"
version = "13.0.0-alpha.1"
version = "13.0.0-alpha.2"

[features]
all = ["cbor", "yaml"]
Expand Down
21 changes: 6 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
![](https://img.shields.io/crates/d/tokei?label=downloads%20%28crates.io%29)
![](https://img.shields.io/github/downloads/xampprocky/tokei/total?label=downloads%20%28GH%29)
![](https://img.shields.io/homebrew/installs/dy/tokei?color=brightgreen&label=downloads%20%28brew%29)
![Chocolatey Downloads](https://img.shields.io/chocolatey/dt/tokei?label=Downloads%20(Chocolately))
[![dependency status](https://deps.rs/repo/github/XAMPPRocky/tokei/status.svg)](https://deps.rs/repo/github/XAMPPRocky/tokei)
[![Packaging status](https://repology.org/badge/tiny-repos/tokei.svg)](https://repology.org/project/tokei/versions)


Tokei is a program that displays statistics about your code. Tokei will show the number of files, total lines within those files and code, comments, and blanks grouped by language.

Expand Down Expand Up @@ -327,6 +324,7 @@ request. Languages are defined in [`languages.json`](./languages.json), and you
read how to add and test your language in our [CONTRIBUTING.md](./CONTRIBUTING.md).

```
8th
Abap
ActionScript
Ada
Expand All @@ -347,15 +345,13 @@ Bash
Batch
Bazel
Bean
Bicep
Bitbake
BrightScript
C
Cabal
Cassius
Ceylon
CHeader
Cil
Clojure
ClojureC
ClojureScript
Expand All @@ -373,10 +369,8 @@ CSharp
CShell
Css
Cuda
CUE
Cython
D
D2
DAML
Dart
DeviceTree
Expand All @@ -395,6 +389,7 @@ Elvish
EmacsDevEnv
Emojicode
Erlang
Euphoria
Factor
FEN
Fish
Expand All @@ -408,7 +403,6 @@ FSharp
Fstar
GDB
GdScript
GdShader
Gherkin
Gleam
Glsl
Expand All @@ -424,7 +418,6 @@ Haskell
Haxe
Hcl
Hex
hledger
Hlsl
HolyC
Html
Expand Down Expand Up @@ -458,12 +451,10 @@ Madlang
Max
Makefile
Markdown
Mdx
Meson
Mint
Mlatu
ModuleDef
MonkeyC
MoonScript
MsBuild
Mustache
Expand All @@ -484,8 +475,9 @@ Pascal
Perl
Perl6
Pest
Smalltalk
Phix
Php
Po
Poke
Polly
Pony
Expand All @@ -494,9 +486,9 @@ PowerShell
Processing
Prolog
Protobuf
PRQL
PSL
PureScript
Pyret
Python
Qcl
Qml
Expand Down Expand Up @@ -524,14 +516,12 @@ SpecmanE
Spice
Sql
SRecode
Stata
Stratego
Svelte
Svg
Swift
Swig
SystemVerilog
Tact
Tcl
Tex
Text
Expand Down Expand Up @@ -563,6 +553,7 @@ VisualStudioSolution
Vue
WebAssembly
Wolfram
Wren
Xaml
XcodeConfig
Xml
Expand Down
6 changes: 6 additions & 0 deletions ci/download_cross.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# Script for downloading cross.
set -e

gh release download --repo cross-rs/cross --pattern "*$2*"
tar -xvzf cross-$1.tar.gz
5 changes: 5 additions & 0 deletions ci/redeploy_lines_of_code_counter.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Script for triggering deploy of lines of code counter.
set -e

gh workflow run deploy.yml --repo exercism/lines-of-code-counter
Loading
Loading