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 Side-by-Side Diffs Ignore Whitespace Patch

Changes to Setup/archive.bat.

    12     12   SETLOCAL
    13     13   
    14     14   REM SET _ECHO=ECHO
    15     15   IF NOT DEFINED _AECHO (SET _AECHO=REM)
    16     16   IF NOT DEFINED _CECHO (SET _CECHO=REM)
    17     17   IF NOT DEFINED _VECHO (SET _VECHO=REM)
    18     18   
    19         -SET PIPE=^|
    20         -IF DEFINED _ECHO SET PIPE=^^^|
    21         -
    22     19   %_AECHO% Running %0 %*
    23     20   
    24     21   SET ROOT=%~dp0\..
    25     22   SET ROOT=%ROOT:\\=\%
    26     23   
    27     24   SET TOOLS=%~dp0
    28     25   SET TOOLS=%TOOLS:~0,-1%
................................................................................
    35     32   %_ECHO% PUSHD "%ROOT%"
    36     33   
    37     34   IF ERRORLEVEL 1 (
    38     35     ECHO Could not change directory to "%ROOT%".
    39     36     GOTO errors
    40     37   )
    41     38   
    42         -%_ECHO% zip.exe -r sqlite-dotnet-source.zip * -x@exclude_src.txt
           39  +FOR /F "delims=" %%V IN ('find.exe "AssemblyVersion" System.Data.SQLite\AssemblyInfo.cs') DO (
           40  +  SET VERSION=%%V
           41  +)
           42  +
           43  +IF NOT DEFINED VERSION (
           44  +  SET VERSION=1.0.0.0
           45  +  GOTO skip_mungeVersion
           46  +)
           47  +
           48  +REM
           49  +REM NOTE: Strip off all the extra stuff from the AssemblyVersion line we found
           50  +REM       in the AssemblyInfo.cs file that we do not need (i.e. everything
           51  +REM       except the raw version number itself).
           52  +REM
           53  +SET VERSION=%VERSION:(=%
           54  +SET VERSION=%VERSION:)=%
           55  +SET VERSION=%VERSION:[=%
           56  +SET VERSION=%VERSION:]=%
           57  +SET VERSION=%VERSION: =%
           58  +SET VERSION=%VERSION:assembly:=%
           59  +SET VERSION=%VERSION:AssemblyVersion=%
           60  +SET VERSION=%VERSION:"=%
           61  +REM "
           62  +
           63  +:skip_mungeVersion
           64  +
           65  +%_VECHO% Version = '%VERSION%'
           66  +
           67  +CALL :fn_ResetErrorLevel
           68  +
           69  +%_ECHO% zip.exe -r sqlite-dotnet-source-%VERSION%.zip * -x@exclude_src.txt
    43     70   
    44     71   IF ERRORLEVEL 1 (
    45     72     ECHO Failed to archive source files.
    46     73     GOTO errors
    47     74   )
    48     75   
    49     76   %_ECHO% POPD

Changes to exclude_src.txt.

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