forked from Ed-Fi-Alliance-OSS/Data-Management-Service
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-dev-environment.ps1
More file actions
28 lines (21 loc) · 792 Bytes
/
Copy pathsetup-dev-environment.ps1
File metadata and controls
28 lines (21 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# SPDX-License-Identifier: Apache-2.0
# Licensed to the Ed-Fi Alliance under one or more agreements.
# The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
# See the LICENSE and NOTICES files in the project root for more information.
<#
.SYNOPSIS
Script to set up the development environment for the repository.
.DESCRIPTION
This script restores .NET tools and installs Husky for managing Git hooks.
#>
Write-Host "Setting up the development environment..."
# Restore .NET tools
Write-Host "Restoring .NET tools..."
dotnet tool restore
# Install CSharpier
Write-Host "Installing CSharpier..."
dotnet tool install --local csharpier
# Install Husky
Write-Host "Installing Husky..."
dotnet husky install
Write-Host "Development environment setup complete."