Acme.BookStore.HttpApi.Host/node_modules/.bin/gulp.ps1
(完整代码) 789B#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/../gulp/bin/gulp.js" $args
} else {
& "$basedir/node$exe" "$basedir/../gulp/bin/gulp.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/../gulp/bin/gulp.js" $args
} else {
& "node$exe" "$basedir/../gulp/bin/gulp.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
