Skip to content

Commit

Permalink
Create install.windows.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
isidore authored Dec 10, 2021
1 parent c024074 commit 93f6b83
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions install.windows.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# To run this script directly, run this in an elevated admin PowerShell prompt:
# Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/LearnWithLlew/lua.starterproject/master/install.windows.ps1 | Invoke-Expression

# This script is intended to setup a dev machine from scratch. Very useful for setting up a EC2 instance for mobbing.
#


iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex

choco install mingw
choco install lua
choco install luarocks


# Clone repo
& "C:\Program Files\Git\cmd\git.exe" clone https://raw.githubusercontent.com/LearnWithLlew/lua.starterproject.get C:\Code\lua.starterproject
cd C:\Code\lua.starterproject

# run
luarocks install busted
run_tests.bat

# Done
cls
echo "Done!"

0 comments on commit 93f6b83

Please sign in to comment.