|
Revision 55, 0.8 kB
(checked in by yann, 5 years ago)
|
typo
|
| Line | |
|---|
| 1 |
REM Set path to WordPress installation (version 2.1 and 2.0) |
|---|
| 2 |
set WORDPRESS_PATH_2_0=C:\Program Files\Apache Software Foundation\Apache2\htdocs\wordpress_2_0 |
|---|
| 3 |
set WORDPRESS_PATH_2_1=C:\Program Files\Apache Software Foundation\Apache2\htdocs\wordpress_2_1 |
|---|
| 4 |
|
|---|
| 5 |
REM Set path to plugin folder from WordPress root |
|---|
| 6 |
set PLUGIN_PATH=wp-content\plugins\wp_iminr |
|---|
| 7 |
|
|---|
| 8 |
REM Set plugin working copy |
|---|
| 9 |
set WORKING_COPY=D:\Developements\Workspace\WP iMinR |
|---|
| 10 |
|
|---|
| 11 |
REM Copy current working data for WordPress 2.0 |
|---|
| 12 |
rmdir /S /Q "%WORDPRESS_PATH_2_0%\%PLUGIN_PATH%" |
|---|
| 13 |
mkdir "%WORDPRESS_PATH_2_0%\%PLUGIN_PATH%" |
|---|
| 14 |
xcopy /s "%WORKING_COPY%" "%WORDPRESS_PATH_2_0%\%PLUGIN_PATH%" |
|---|
| 15 |
|
|---|
| 16 |
REM Copy current working data for WordPress 2.1 |
|---|
| 17 |
rmdir /S /Q "%WORDPRESS_PATH_2_1%\%PLUGIN_PATH%" |
|---|
| 18 |
mkdir "%WORDPRESS_PATH_2_1%\%PLUGIN_PATH%" |
|---|
| 19 |
xcopy /s "%WORKING_COPY%" "%WORDPRESS_PATH_2_1%\%PLUGIN_PATH%" |
|---|