Skip to content

Commit efcf96e

Browse files
committed
FileTypes v1.0
1 parent a53b744 commit efcf96e

29 files changed

+5937
-0
lines changed

FileTypes/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.dll
2+
*.pdb
3+
/_Arc

FileTypes/FileTypes_en.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.Language=English,English
2+
3+
// Plugin title
4+
"FileTypes"

FileTypes/FileTypes_ru.lng

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.Language=Russian,Russian (���᪨�)
2+
3+
// Plugin title
4+
"FileTypes"

FileTypes/deploy.bat

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
@echo off
2+
3+
cd /d "%~dp0"
4+
5+
if "%~1"=="" goto noparm
6+
7+
rem if exist *.pdb del *.pdb
8+
rem if exist *.lib del *.lib
9+
rem if exist *.exp del *.exp
10+
11+
set ex7zlist=-x!*.map -x!*.exp -x!*.lib -x!*.pdb -x!*.suo -x!*.user -x!*.ncb -x!*.log -x!gcc -x!enc_temp_folder -x!*684.* -x!enc_temp_folder -x!*.bak -x!*.vsp -x!*.ilk -x!rebar.bmp -x!kl_parts_gcc.* -x!*.opt -x!*.aps -x!*.7z -x!0PictureView.*.dll -x!0PictureView.dll -x!src\PictureView\headers\plugin977.hpp -x!VTune -x!*.pvd -x!libgfl311.dll -x!090517.Show.Elevation.status.txt -x!run_debug_conman.bat -x!*.hab -x!*.cache -x!*.dsw -x!drag -x!toolbar -x!ResTest -x!Temp
12+
13+
if %COMPUTERNAME%==MAX goto skip_svn
14+
15+
xcopy /S /U /M /Y *.lng F:\VCProject\FarPlugin\ConEmu\WWW\root\trunk\FileTypes\
16+
xcopy /S /U /M /Y src\*.* F:\VCProject\FarPlugin\ConEmu\WWW\root\trunk\FileTypes\src\
17+
18+
19+
20+
if exist FileTypes.1.%~1.7z del FileTypes.1.%~1.7z
21+
7z a -r FileTypes.1.%~1.7z *.dll *.lng
22+
if errorlevel 1 goto err7z
23+
24+
:skip_svn
25+
26+
if exist FileTypes.1.%~1.src.7z del FileTypes.1.%~1.src.7z
27+
7z a -r FileTypes.1.%~1.src.7z * %ex7zlist%
28+
if errorlevel 1 goto err7z
29+
30+
goto fin
31+
32+
:noparm
33+
echo Usage: deploy.cmd ^<Version^> [+]
34+
echo Example: deploy.cmd 5
35+
pause
36+
goto fin
37+
38+
:err7z
39+
echo Can't create archive
40+
pause
41+
goto fin
42+
43+
:fin

0 commit comments

Comments
 (0)