System.Data.SQLite
Check-in [948a3e95d3]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Append the version number to created source archive file name. Exclude superfluous empty 'Properties' directory created by VS. For now, exclude legacy install tools directory.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | build-enhancements
Files: files | file ages | folders
SHA1: 948a3e95d36cd489cd3671a5a89560a3395066b4
User & Date: mistachkin 2011-07-01 03:16:50
Context
2011-07-01
08:33
Add 'testlinq' project to the new build system. Cleanup in both test apps. Fix XML doc warnings. check-in: bd2f09af59 user: mistachkin tags: build-enhancements
03:16
Append the version number to created source archive file name. Exclude superfluous empty 'Properties' directory created by VS. For now, exclude legacy install tools directory. check-in: 948a3e95d3 user: mistachkin tags: build-enhancements
02:23
Add automation to produce a source archive. Remove superfluous README files. check-in: 7e5e4c3562 user: mistachkin tags: build-enhancements
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Setup/archive.bat.

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
..
35
36
37
38
39
40
41






























42
43
44
45
46
47
48
49
SETLOCAL

REM SET _ECHO=ECHO
IF NOT DEFINED _AECHO (SET _AECHO=REM)
IF NOT DEFINED _CECHO (SET _CECHO=REM)
IF NOT DEFINED _VECHO (SET _VECHO=REM)

SET PIPE=^|
IF DEFINED _ECHO SET PIPE=^^^|

%_AECHO% Running %0 %*

SET ROOT=%~dp0\..
SET ROOT=%ROOT:\\=\%

SET TOOLS=%~dp0
SET TOOLS=%TOOLS:~0,-1%
................................................................................
%_ECHO% PUSHD "%ROOT%"

IF ERRORLEVEL 1 (
  ECHO Could not change directory to "%ROOT%".
  GOTO errors
)































%_ECHO% zip.exe -r sqlite-dotnet-source.zip * -x@exclude_src.txt

IF ERRORLEVEL 1 (
  ECHO Failed to archive source files.
  GOTO errors
)

%_ECHO% POPD







<
<
<







 







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
|







12
13
14
15
16
17
18



19
20
21
22
23
24
25
..
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
SETLOCAL

REM SET _ECHO=ECHO
IF NOT DEFINED _AECHO (SET _AECHO=REM)
IF NOT DEFINED _CECHO (SET _CECHO=REM)
IF NOT DEFINED _VECHO (SET _VECHO=REM)




%_AECHO% Running %0 %*

SET ROOT=%~dp0\..
SET ROOT=%ROOT:\\=\%

SET TOOLS=%~dp0
SET TOOLS=%TOOLS:~0,-1%
................................................................................
%_ECHO% PUSHD "%ROOT%"

IF ERRORLEVEL 1 (
  ECHO Could not change directory to "%ROOT%".
  GOTO errors
)

FOR /F "delims=" %%V IN ('find.exe "AssemblyVersion" System.Data.SQLite\AssemblyInfo.cs') DO (
  SET VERSION=%%V
)

IF NOT DEFINED VERSION (
  SET VERSION=1.0.0.0
  GOTO skip_mungeVersion
)

REM
REM NOTE: Strip off all the extra stuff from the AssemblyVersion line we found
REM       in the AssemblyInfo.cs file that we do not need (i.e. everything
REM       except the raw version number itself).
REM
SET VERSION=%VERSION:(=%
SET VERSION=%VERSION:)=%
SET VERSION=%VERSION:[=%
SET VERSION=%VERSION:]=%
SET VERSION=%VERSION: =%
SET VERSION=%VERSION:assembly:=%
SET VERSION=%VERSION:AssemblyVersion=%
SET VERSION=%VERSION:"=%
REM "

:skip_mungeVersion

%_VECHO% Version = '%VERSION%'

CALL :fn_ResetErrorLevel

%_ECHO% zip.exe -r sqlite-dotnet-source-%VERSION%.zip * -x@exclude_src.txt

IF ERRORLEVEL 1 (
  ECHO Failed to archive source files.
  GOTO errors
)

%_ECHO% POPD

Changes to exclude_src.txt.

10
11
12
13
14
15
16

17
18
19
20

21
Externals/*
Membership/obj/*
obj/*
Setup/Output/*
SQLite.Designer/obj/*
System.Data.SQLite.Linq/obj/*
System.Data.SQLite/obj/*

test/obj/*
testce/obj/*
testlinq/obj/*
Tests/*

www/*







>




>

10
11
12
13
14
15
16
17
18
19
20
21
22
23
Externals/*
Membership/obj/*
obj/*
Setup/Output/*
SQLite.Designer/obj/*
System.Data.SQLite.Linq/obj/*
System.Data.SQLite/obj/*
System.Data.SQLite/Properties/*
test/obj/*
testce/obj/*
testlinq/obj/*
Tests/*
tools/*
www/*