2014-07-06 18:17:14 +04:00
|
|
|
@ECHO off
|
|
|
|
|
|
|
|
SETLOCAL
|
|
|
|
|
|
|
|
SET PISKEL_PATH="C:\Development\git\piskel"
|
|
|
|
SET PISKELAPP_PATH="C:\Development\git\piskel-website"
|
|
|
|
|
|
|
|
ECHO "Copying files to piskelapp"
|
2015-12-01 02:28:41 +03:00
|
|
|
XCOPY "%PISKEL_PATH%\dest\prod" "%PISKELAPP_PATH%\static\editor" /e /i /h /y
|
2014-07-06 18:17:14 +04:00
|
|
|
|
|
|
|
ECHO "Delete previous partial"
|
|
|
|
DEL "%PISKELAPP_PATH%\templates\editor\main-partial.html"
|
|
|
|
ECHO "Copy new partial"
|
|
|
|
MOVE "%PISKELAPP_PATH%\static\editor\piskelapp-partials\main-partial.html" "%PISKELAPP_PATH%\templates\editor"
|
|
|
|
ECHO "Delete temp partial"
|
|
|
|
RMDIR "%PISKELAPP_PATH%\static\editor\piskelapp-partials\" /S /Q
|
|
|
|
|
|
|
|
PAUSE
|
|
|
|
explorer "%PISKELAPP_PATH%\"
|
|
|
|
|
|
|
|
ENDLOCAL
|