publish cmd
This commit is contained in:
@@ -4,7 +4,7 @@ REM ha van param
|
|||||||
set PUBLISH_DIR=%1
|
set PUBLISH_DIR=%1
|
||||||
|
|
||||||
if "%PUBLISH_DIR%"=="" (
|
if "%PUBLISH_DIR%"=="" (
|
||||||
set PUBLISH_DIR=c:\Publish\wcfapi
|
set PUBLISH_DIR=c:\Publish\wfcapi
|
||||||
)
|
)
|
||||||
|
|
||||||
echo Publish to: %PUBLISH_DIR%
|
echo Publish to: %PUBLISH_DIR%
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
REM ha van paraméter, azt használjuk, különben default
|
||||||
|
set PUBLISH_DIR=%1
|
||||||
|
|
||||||
|
if "%PUBLISH_DIR%"=="" (
|
||||||
|
set PUBLISH_DIR=c:\Publish\wfcweb
|
||||||
|
)
|
||||||
|
|
||||||
|
echo Publish to: %PUBLISH_DIR%
|
||||||
|
|
||||||
|
dotnet publish -c Release -o "%PUBLISH_DIR%"
|
||||||
|
|
||||||
|
pause
|
||||||
Reference in New Issue
Block a user