API pulish.cmd kiegészítése
This commit is contained in:
@@ -1,2 +1,14 @@
|
|||||||
dotnet publish -c Release -o e:\wfcapi\
|
@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\wcfapi
|
||||||
|
)
|
||||||
|
|
||||||
|
echo Publish to: %PUBLISH_DIR%
|
||||||
|
|
||||||
|
dotnet publish -c Release -o "%PUBLISH_DIR%"
|
||||||
|
|
||||||
pause
|
pause
|
||||||
Reference in New Issue
Block a user