text stringlengths 0 834k |
|---|
SET NODE_EXE=node |
) |
goto :EOF |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: |
:: Deployment |
:: ---------- |
:Deployment |
echo Handling node.js deployment. |
:: 1. KuduSync |
IF /I ""%IN_PLACE_DEPLOYMENT%"" NEQ ""1"" ( |
call :ExecuteCmd ""%KUDU_SYNC_CMD%"" -v 50 -f ""%DEPLOYMENT_SOURCE%"" -t ""%DEPLOYMENT_TARGET%"" -n ""%NEXT_MANIFEST_PATH%"" -p ""%PREVIOUS_MANIFEST_PATH%"" -i "".git;.hg;.deployment;deploy.cmd"" |
IF !ERRORLEVEL! NEQ 0 goto error |
) |
:: 2. Select node version |
call :SelectNodeVersion |
:: 3. Install npm packages |
IF EXIST ""%DEPLOYMENT_TARGET%\package.json"" ( |
pushd ""%DEPLOYMENT_TARGET%"" |
call :ExecuteCmd !NPM_CMD! install --production |
call :ExecuteCmd !NPM_CMD! install --only=dev |
IF !ERRORLEVEL! NEQ 0 goto error |
popd |
) |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: |
goto end |
:: Execute command routine that will echo out when error |
:ExecuteCmd |
setlocal |
set _CMD_=%* |
call %_CMD_% |
if ""%ERRORLEVEL%"" NEQ ""0"" echo Failed exitCode=%ERRORLEVEL%, command=%_CMD_% |
exit /b %ERRORLEVEL% |
:error |
endlocal |
echo An error has occurred during web site deployment. |
call :exitSetErrorLevel |
call :exitFromFunction 2>nul |
:exitSetErrorLevel |
exit /b 1 |
:exitFromFunction |
() |
:end |
endlocal |
echo Finished successfully.",24.0373134328,185,0.6544551382 |
219532,d2f66f64b0a4f0a146879187e83f259ae1aa17ba,51,bat,Batchfile,node.bat,snooopcatt/wslnodejs,3c0426604cf8adce0d0f4832b7b60c58cd3162fb,['MIT'],1.0,2018-06-07T11:19:11.000Z,2018-06-07T11:19:11.000Z,node.bat,Erisa/wslnodejs,8348ea548b234ec5b3d86a83521e1262bb24b602,['MIT'],1.0,2018-05-31T09:26:28.000Z,2018-05-31T09:26:28.000Z,node.bat,Erisa/wslnodejs,8348ea548b234ec5b3d86a83521e1262bb24b602,['MIT'],1.0,2020-05-29T06:17:55.000Z,2020-05-29T06:17:55.000Z,"@echo off |
pushd %~dp0 |
node wslnode.js node %* |
popd |
",10.2,23,0.7058823529 |
219533,d2f6be3d105528966d14ae7360f0ece324c19382,782,bat,Batchfile,docs/make.bat,Sensibo/python_dynamodb_lock,78c05cb7bdaa714d814c3a174e30da0f8c51ccca,['Apache-2.0'],31.0,2018-11-17T05:09:47.000Z,2022-02-12T21:29:54.000Z,docs/make.bat,Sensibo/python_dynamodb_lock,78c05cb7bdaa714d814c3a174e30da0f8c51ccca,['Apache-2.0'],1720.0,2018-09-05T23:26:33.000Z,2022-03-28T23:25:27.000Z,docs/make.bat,Sensibo/python_dynamodb_lock,78c05cb7bdaa714d814c3a174e30da0f8c51ccca,['Apache-2.0'],18.0,2019-01-25T17:26:58.000Z,2022-03-21T04:28:29.000Z,"@ECHO OFF |
pushd %~dp0 |
REM Command file for Sphinx documentation |
if ""%SPHINXBUILD%"" == """" ( |
set SPHINXBUILD=python -msphinx |
) |
set SOURCEDIR=. |
set BUILDDIR=_build |
set SPHINXPROJ=python_dynamodb_lock |
if ""%1"" == """" goto help |
%SPHINXBUILD% >NUL 2>NUL |
if errorlevel 9009 ( |
echo. |
echo.The Sphinx module was not found. Make sure you have Sphinx installed, |
echo.then set the SPHINXBUILD environment variable to point to the full |
echo.path of the 'sphinx-build' executable. Alternatively you may add the |
echo.Sphinx directory to PATH. |
echo. |
echo.If you don't have Sphinx installed, grab it from |
echo.http://sphinx-doc.org/ |
exit /b 1 |
) |
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% |
goto end |
:help |
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% |
:end |
popd |
",21.1351351351,75,0.7404092072 |
219534,d2f6ca379b5bbefecbc750df152bd0761f87415c,203,cmd,Batchfile,src/condor_tests/job_core_queue_sched.cmd,kurhula/HTCondor,457d077e91900cd899b6254c4f0c8f582a70d0ea,['Apache-2.0'],1.0,2020-11-18T21:52:11.000Z,2020-11-18T21:52:11.000Z,src/condor_tests/job_core_queue_sched.cmd,AmesianX/htcondor,10aea32f1717637972af90459034d1543004cb83,['Apache-2.0'],1.0,2021-04-06T04:19:40.000Z,2021-04-06T04:19:40.000Z,src/condor_tests/job_core_queue_sched.cmd,AmesianX/htcondor,10aea32f1717637972af90459034d1543004cb83,['Apache-2.0'],2.0,2017-11-09T01:42:58.000Z,2020-07-14T20:20:05.000Z,"universe = scheduler |
executable = job_core_queue.pl |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.