Skip to content

Commit c54888b

Browse files
committed
Update the Teknic submodule
Also include the zipClearCore script
1 parent 783f1d1 commit c54888b

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

Teknic

Submodule Teknic updated 86 files

zipClearCore.cmd

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
set ver=1.0.14.dev
2+
rem set version=shell git describe --dirty --always --tags
3+
4+
set zipDir=ClearCore-%ver%
5+
6+
rem Make the directory to zip
7+
md %zipDir%
8+
9+
rem Copy everything into the zip directory
10+
robocopy .\ .\%zipDir% *.* /E
11+
12+
cd %zipDir%
13+
14+
rem Remove the copied (empty) zip directory
15+
rd /s /q .\%zipDir%
16+
17+
rem Remove various files not intended for release
18+
rd /s /q .\Style
19+
rd /s /q .\TestSketch
20+
rd /s /q .\Debug
21+
rd /s /q .\Release
22+
del .\zipClearCore.cmd
23+
24+
rem Delete all the git repos in the directory structure
25+
for /d /r . %%d in (.git) do @if exist "%%d" rd /s /q "%%d"
26+
for /d /r . %%d in (.gitlab) do @if exist "%%d" rd /s /q "%%d"
27+
28+
rem Delete all git-related files in the directory structure
29+
del /s .\*.git*
30+
31+
rem Delete all object and dependency files in the directory structure
32+
del /s .\*.o .\*.d
33+
34+
cd ..
35+
36+
rem Zip it
37+
"C:\Program Files\7-Zip\7z.exe" a -r "%zipDir%.zip" ".\%zipDir%"
38+
39+
rem Remove the temp directory
40+
rd /s /q .\%zipDir%

0 commit comments

Comments
 (0)