From cdb384a3fe4414cf49317e07474fd0202d94cce2 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Wed, 10 Jul 2024 10:41:08 -0400 Subject: [PATCH] Create a bigtest.ps1 that automatically downloads and runs all scripts directly from the git repo. --- bigtest.ps1 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 bigtest.ps1 diff --git a/bigtest.ps1 b/bigtest.ps1 new file mode 100644 index 0000000..ea243b5 --- /dev/null +++ b/bigtest.ps1 @@ -0,0 +1,10 @@ +mkdir test +cd test + +$scripts = 'base.ps1', 'python.ps1', 'cpp.ps1', 'nodejs.ps1', 'bunjs.ps1', 'ruby.ps1', 'go.ps1', 'zig.ps1', 'crystal.ps1' + +foreach($script in $scripts) { + irm https://git.learnjsthehardway.com/learn-code-the-hard-way/lcthw-windows-installers/raw/branch/master/$script -outfile $script + + powershell -executionpolicy bypass .\$script +}