FIT5032-Assignment/packages/Modernizr.2.8.3/Tools/install.ps1
2023-09-14 15:54:44 +10:00

12 lines
333 B
PowerShell

param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath common.ps1)
if ($scriptsFolderProjectItem -eq $null) {
# No Scripts folder
Write-Host "No Scripts folder found"
exit
}
# Update the _references.js file
AddOrUpdate-Reference $scriptsFolderProjectItem $modernizrFileNameRegEx $modernizrFileName