forked from approvals/ApprovalTests.Java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.windows.ps1
More file actions
19 lines (13 loc) · 767 Bytes
/
install.windows.ps1
File metadata and controls
19 lines (13 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# To run this script directly, run this in an elevated admin PowerShell prompt:
# Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/approvals/ApprovalTests.java/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
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/java-intellij.ps1 | iex
#install project-specific tools
choco install -y openjdk maven
# Clone repo
& "C:\Program Files\Git\cmd\git.exe" clone https://github.com/approvals/ApprovalTests.java.git C:\Code\ApprovalTests.java
# Done
cls
echo "Done!"