-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
1,524 additions
and
1,620 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,20 @@ | ||
#!/bin/sh | ||
#!/bin/bash | ||
|
||
cd "$(dirname "$0")"/.. | ||
|
||
CLOC="cloc --by-file-by-lang" | ||
|
||
echo "=========================================================" | ||
echo "# Interfaces" | ||
$CLOC contracts/interfaces | ||
|
||
echo "=========================================================" | ||
echo "# Libs and Test Code" | ||
$CLOC \ | ||
contracts/{ux,apps} | ||
|
||
echo "# Excluding Interfaces and Test Code" | ||
echo "=========================================================" | ||
echo "# Excluding Interfaces, Libs and Test Code" | ||
$CLOC \ | ||
--exclude-dir interfaces,test,mocks \ | ||
--exclude-dir interfaces,ux,apps,test,mocks \ | ||
contracts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
|
||
P=$(echo packages/*/package.json package.json) | ||
# find duplicated devDependencies in packages | ||
jq -r '.devDependencies | keys | .[]' $P | \ | ||
sort | uniq -c | \ | ||
grep -ve '^ *1' | awk '{print $2}' | while read i;do | ||
echo $i | ||
grep '"'$i'"' $P | ||
echo | ||
done |
Oops, something went wrong.