text stringlengths 0 834k |
|---|
) |
if ""%OS_MAJOR%"" GTR ""6"" ( |
set IsWin7OrHigher=true |
goto :__ver_set_done |
) |
) |
if ""%OS_MAJOR%"" == ""5"" ( |
if ""%OS_MINOR%"" == ""2"" ( |
set IsWin2K3=true |
) |
goto :__ver_set_done |
) |
:__ver_set_done |
for /f ""skip=1"" %%i in ( 'wmic os get OSArchitecture' ) do ( |
set OS_ARCHITECTURE=%%i |
goto:__arch_done |
) |
:__arch_done |
set OS_ARCHITECTURE=%OS_ARCHITECTURE: =% |
set Script_Path=Scripts\x64 |
if ""%OS_ARCHITECTURE%"" == ""32-bit"" ( |
set Script_Path=Scripts\x86 |
goto :__script_path_done |
) |
:__script_path_done |
echo. |
echo This script will perform the following steps: |
echo. |
echo STEP 1: Delete the virtual directories if they exist:FabrikamWebSite, ContosoAuthenticationServer and CustomerService . |
echo. |
echo STEP 2: Create the virtual directories. |
echo. |
echo ---------------------------------------------------------------------- |
echo --- STEP 1: Delete the virtual directories if they exist. --- |
echo ---------------------------------------------------------------------- |
""%systemroot%\system32\inetsrv\AppCmd.exe"" delete app ""Default Web Site/FabrikamWebSite"" |
""%systemroot%\system32\inetsrv\AppCmd.exe"" delete app ""Default Web Site/ContosoAuthenticationServer"" |
""%systemroot%\system32\inetsrv\AppCmd.exe"" delete app ""Default Web Site/CustomersService"" |
echo ---------------------------------------------------------------------- |
echo --- STEP 2: Create the virtual directories. --- |
echo ---------------------------------------------------------------------- |
setlocal |
chdir /d ""%~dp0..\.."" |
""%systemroot%\system32\inetsrv\AppCmd.exe"" add app /site.name:""Default Web Site"" /path:/FabrikamWebSite /physicalPath:""%CD%\Ex02-RestServiceWithACS\Begin\FabrikamWebSite"" /applicationPool:""ASP.NET v4.0"" |
""%systemroot%\system32\inetsrv\AppCmd.exe"" add app /site.name:""Default Web Site"" /path:/ContosoAuthenticationServer /physicalPath:""%CD%\Ex02-RestServiceWithACS\Begin\ContosoAuthenticationServer"" /applicationPool:""ASP.NET v4.0"" |
""%systemroot%\system32\inetsrv\AppCmd.exe"" add app /site.name:""Default Web Site"" /path:/CustomersService /physicalPath:""%CD%\Ex02-RestServiceWithACS\Begin\CustomerService"" /applicationPool:""ASP.NET v4.0"" |
echo Done. |
:end |
",29.7872340426,226,0.6439285714 |
219816,f31f716b5e9250e75ab79a2fa8026186963af6e9,634,cmd,Batchfile,build.cmd,p4nuruj/Unity3D.ThaiFontAdjuster,36571c714d9ae7cca21c12f7c1eb86158382f12b,['MIT'],1.0,2021-06-06T07:02:13.000Z,2021-06-06T07:02:13.000Z,build.cmd,p4nuruj/Unity3D.ThaiFontAdjuster,36571c714d9ae7cca21c12f7c1eb86158382f12b,['MIT'],,,,build.cmd,p4nuruj/Unity3D.ThaiFontAdjuster,36571c714d9ae7cca21c12f7c1eb86158382f12b,['MIT'],,,,"@echo off |
pushd %~dp0 |
SET PACKAGEPATH=.\packages\ |
SET NUGET=.\tools\nuget\NuGet.exe |
SET NUGETOPTIONS=-ConfigFile .\tools\nuget\NuGet.Config -OutputDirectory %PACKAGEPATH% -ExcludeVersion |
IF NOT EXIST %PACKAGEPATH%FAKE\Ver_4.25.4 ( |
RD /S/Q %PACKAGEPATH%FAKE |
%NUGET% install FAKE -Version 4.25.4 %NUGETOPTIONS% |
COPY NUL %PACKAGEPATH%FAKE\Ver_4.25.4 |
) |
IF NOT EXIST %PACKAGEPATH%FAKE.BuildLib\Ver_0.3.1 ( |
RD /S/Q %PACKAGEPATH%FAKE.BuildLib |
%NUGET% install FAKE.BuildLib -Version 0.3.1 %NUGETOPTIONS% |
COPY NUL %PACKAGEPATH%FAKE.BuildLib\Ver_0.3.1 |
) |
set encoding=utf-8 |
""%PACKAGEPATH%FAKE\tools\FAKE.exe"" build.fsx %* |
popd |
",25.36,102,0.7476340694 |
219817,f31f8432d8fe21bdba69b657e33281f7158db966,354,cmd,Batchfile,node_modules/_postcss-preset-env@6.7.0@postcss-preset-env/node_modules/.bin/css-has-pseudo.cmd,littlewulei/nodeModule,acce489d7a9d702b5dce3104ca277cb5a83324db,['MIT'],,,,node_modules/_postcss-preset-env@6.7.0@postcss-preset-env/node_modules/.bin/css-has-pseudo.cmd,littlewulei/nodeModule,acce489d7a9d702b5dce3104ca277cb5a83324db,['MIT'],,,,node_modules/_postcss-preset-env@6.7.0@postcss-preset-env/node_modules/.bin/css-has-pseudo.cmd,littlewulei/nodeModule,acce489d7a9d702b5dce3104ca277cb5a83324db,['MIT'],,,,"@ECHO off |
SETLOCAL |
CALL :find_dp0 |
SET _maybeQuote="" |
IF EXIST ""%dp0%\node.exe"" ( |
SET ""_prog=%dp0%\node.exe"" |
) ELSE ( |
SET _maybeQuote= |
SET ""_prog=node"" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.