File tree Expand file tree Collapse file tree 6 files changed +81
-17
lines changed Expand file tree Collapse file tree 6 files changed +81
-17
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ MUMPS (mps)
151
151
Mustache (mustache)
152
152
Nim (nim)
153
153
Nix (nix)
154
+ Nushell (nu)
154
155
nuspec (nuspec)
155
156
Objective C (m)
156
157
Objective C++ (mm)
Original file line number Diff line number Diff line change 17
17
< th > 421</ th >
18
18
< th > 7033</ th >
19
19
< th > 1416</ th >
20
- < th > 349702 </ th >
20
+ < th > 350282 </ th >
21
21
</ tr > < tr >
22
22
< th > Java</ th >
23
23
< th > 24</ th >
39
39
</ tr > < tr >
40
40
< th > Markdown</ th >
41
41
< th > 11</ th >
42
- < th > 1338 </ th >
42
+ < th > 1339 </ th >
43
43
< th > 319</ th >
44
44
< th > 0</ th >
45
- < th > 1019 </ th >
45
+ < th > 1020 </ th >
46
46
< th > 0</ th >
47
- < th > 54198 </ th >
47
+ < th > 54211 </ th >
48
48
</ tr > < tr >
49
49
< th > Python</ th >
50
50
< th > 10</ th >
98
98
< th > 85</ th >
99
99
< th > 855</ th >
100
100
< th > 95</ th >
101
- < th > 38992 </ th >
101
+ < th > 39003 </ th >
102
102
</ tr > < tr >
103
103
< th > C#</ th >
104
104
< th > 2</ th >
381
381
</ tr > < tr >
382
382
< th > JSON</ th >
383
383
< th > 1</ th >
384
- < th > 7372 </ th >
384
+ < th > 7404 </ th >
385
385
< th > 0</ th >
386
386
< th > 0</ th >
387
- < th > 7372 </ th >
387
+ < th > 7404 </ th >
388
388
< th > 0</ th >
389
- < th > 102679 </ th >
389
+ < th > 103115 </ th >
390
390
</ tr > < tr >
391
391
< th > Korn Shell</ th >
392
392
< th > 1</ th >
432
432
< th > 62</ th >
433
433
< th > 12</ th >
434
434
< th > 1764</ th >
435
+ </ tr > < tr >
436
+ < th > Nushell</ th >
437
+ < th > 1</ th >
438
+ < th > 22</ th >
439
+ < th > 2</ th >
440
+ < th > 2</ th >
441
+ < th > 18</ th >
442
+ < th > 2</ th >
443
+ < th > 514</ th >
435
444
</ tr > < tr >
436
445
< th > Perl</ th >
437
446
< th > 1</ th >
579
588
</ tr > </ tbody >
580
589
< tfoot > < tr >
581
590
< th > Total</ th >
582
- < th > 172 </ th >
583
- < th > 26395 </ th >
584
- < th > 3001 </ th >
585
- < th > 1748 </ th >
586
- < th > 21646 </ th >
587
- < th > 2363 </ th >
588
- < th > 1799304 </ th >
591
+ < th > 173 </ th >
592
+ < th > 26450 </ th >
593
+ < th > 3003 </ th >
594
+ < th > 1750 </ th >
595
+ < th > 21697 </ th >
596
+ < th > 2365 </ th >
597
+ < th > 1800858 </ th >
589
598
</ tr > </ tfoot >
590
599
</ table > </ body > </ html >
Original file line number Diff line number Diff line change
1
+ # docker wrapper that returns a nushell table
2
+ def docker [
3
+ ... args :string # command to be passed to the real docker command
4
+ ] {
5
+ let data = (^ docker $args -- format= {{json . }}| lines | each {$it | from json })
6
+ if Labels in ($data | get ) {
7
+ $data | docker labels
8
+ } {
9
+ $data
10
+ }
11
+
12
+ }
13
+
14
+ # subcommand used to reformat docker labels into their own table
15
+ def 'docker labels' [] {
16
+ update Labels {
17
+ get Labels |
18
+ split row ' ,' |
19
+ where ($it | str starts-with ' ' ) == $false |
20
+ split column ' =' name value
21
+ }
22
+ }
Original file line number Diff line number Diff line change 5652
5652
" sh"
5653
5653
]
5654
5654
},
5655
+ "Nushell" : {
5656
+ "complexitychecks" : [
5657
+ " for " ,
5658
+ " do { " ,
5659
+ " each {" ,
5660
+ " if " ,
5661
+ " || " ,
5662
+ " && " ,
5663
+ " != " ,
5664
+ " == "
5665
+ ],
5666
+ "extensions" : [
5667
+ " nu"
5668
+ ],
5669
+ "line_comment" : [
5670
+ " #"
5671
+ ],
5672
+ "multi_line" : [],
5673
+ "quotes" : [
5674
+ {
5675
+ "end" : " \" " ,
5676
+ "start" : " \" "
5677
+ },
5678
+ {
5679
+ "end" : " '" ,
5680
+ "start" : " '"
5681
+ }
5682
+ ],
5683
+ "shebangs" : [
5684
+ " nu"
5685
+ ]
5686
+ },
5655
5687
"Smarty Template" : {
5656
5688
"complexitychecks" : [
5657
5689
" for " ,
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 836
836
fi
837
837
838
838
# Try out specific languages
839
- for i in ' Bosque ' ' Flow9 ' ' Bitbucket Pipeline ' ' Docker ignore ' ' Q# ' ' Futhark ' ' Alloy ' ' Wren ' ' Monkey C ' ' Alchemist ' ' Luna ' ' ignore ' ' XML Schema ' ' Web Services' ' Go ' ' Java ' ' Boo ' ' License ' ' BASH ' ' C Shell ' ' Korn Shell ' ' Makefile ' ' Shell ' ' Zsh ' ' Rakefile ' ' Gemfile ' ' Dockerfile ' ' Yarn ' ' Sieve ' ' F# ' ' Elm ' ' Terraform ' ' Clojure ' ' C# ' ' LLVM IR ' ' HAML ' ' FXML ' ' DM '
839
+ for i in ' Bosque ' ' Flow9 ' ' Bitbucket Pipeline ' ' Docker ignore ' ' Q# ' ' Futhark ' ' Alloy ' ' Wren ' ' Monkey C ' ' Alchemist ' ' Luna ' ' ignore ' ' XML Schema ' ' Web Services' ' Go ' ' Java ' ' Boo ' ' License ' ' BASH ' ' C Shell ' ' Korn Shell ' ' Makefile ' ' Shell ' ' Zsh ' ' Rakefile ' ' Gemfile ' ' Dockerfile ' ' Yarn ' ' Sieve ' ' F# ' ' Elm ' ' Terraform ' ' Clojure ' ' C# ' ' LLVM IR ' ' HAML ' ' FXML ' ' DM ' ' Nushell '
840
840
do
841
841
if ./scc " examples/language/" | grep -q " $i " ; then
842
842
echo -e " ${GREEN} PASSED $i Language Check"
You can’t perform that action at this time.
0 commit comments