Skip to content

Commit

Permalink
Port before_v0.60/with_externals and cleanup (#852)
Browse files Browse the repository at this point in the history
  • Loading branch information
39555 committed May 26, 2024
1 parent 840d723 commit 42732da
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 62 deletions.
39 changes: 0 additions & 39 deletions before_v0.60/README.md

This file was deleted.

6 changes: 0 additions & 6 deletions before_v0.60/assets/js_map.json

This file was deleted.

1 change: 0 additions & 1 deletion before_v0.60/lib/scripts.nu

This file was deleted.

13 changes: 0 additions & 13 deletions before_v0.60/stdlib_candidate/README.md

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# This script requires that `tokei` be installed and available!

# Count lines of code in a project.
def "loc" [
export def main [
...rest # args to pass to tokei
] {
tokei -o json $rest |
tokei -o json ...$rest |
from json |
pivot |
transpose |
rename lang lines |
insert files { get lines.reports | length } |
select lang files lines.code lines.comments lines.blanks
}

0 comments on commit 42732da

Please sign in to comment.