Skip to content

Commit 80c6659

Browse files
author
Markus Fleschutz
committed
Moved data/ folder into the scripts/ folder
1 parent 3d7668d commit 80c6659

154 files changed

Lines changed: 50 additions & 50 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

scripts/check-dns.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#>
1414

1515
try {
16-
$table = Import-CSV "$PSScriptRoot/../data/popular-domains.csv"
16+
$table = Import-CSV "$PSScriptRoot/data/popular-domains.csv"
1717

1818
$stopWatch = [system.diagnostics.stopwatch]::startNew()
1919
if ($IsLinux) {

scripts/clone-repos.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ try {
2828
if ($lastExitCode -ne 0) { throw "Can't execute 'git' - make sure Git is installed and available" }
2929

3030
Write-Host "⏳ (2) Reading data/popular-repos.csv... " -noNewline
31-
$table = Import-CSV "$PSScriptRoot/../data/popular-repos.csv"
31+
$table = Import-CSV "$PSScriptRoot/data/popular-repos.csv"
3232
$total = $table.count
3333
Write-Host "$total repos"
3434

scripts/convert-md2html.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ try {
2727
Write-Host "⏳ Converting..."
2828
gci -r -i $FilePattern | foreach {
2929
$TargetPath = $_.directoryname + "\" + $_.basename + ".html"
30-
pandoc --standalone --template "$PSScriptRoot/../data/templates/template.html" -s $_.name -o $TargetPath
30+
pandoc --standalone --template "$PSScriptRoot/data/templates/template.html" -s $_.name -o $TargetPath
3131
}
3232
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
3333
"✅ converted in $Elapsed sec"

0 commit comments

Comments
 (0)