System.Data.SQLite
Check-in [7e5e4c3562]
Not logged in

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

Overview
Comment:Add automation to produce a source archive. Remove superfluous README files.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | build-enhancements
Files: files | file ages | folders
SHA1: 7e5e4c3562c5ef7ac3f2bd1a158de8caeb4b2453
User & Date: mistachkin 2011-07-01 02:23:34
Context
2011-07-01
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
2011-06-30
23:22
In the build automation, attempt to automatically detect if Visual Studio 2008 and/or 2010 are installed. check-in: c7f8f5e266 user: mistachkin tags: build-enhancements
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Added Setup/archive.bat.

            1  +@ECHO OFF
            2  +
            3  +::
            4  +:: archive.bat --
            5  +::
            6  +:: Source Archiving Tool
            7  +::
            8  +:: Written by Joe Mistachkin.
            9  +:: Released to the public domain, use at your own risk!
           10  +::
           11  +
           12  +SETLOCAL
           13  +
           14  +REM SET _ECHO=ECHO
           15  +IF NOT DEFINED _AECHO (SET _AECHO=REM)
           16  +IF NOT DEFINED _CECHO (SET _CECHO=REM)
           17  +IF NOT DEFINED _VECHO (SET _VECHO=REM)
           18  +
           19  +SET PIPE=^|
           20  +IF DEFINED _ECHO SET PIPE=^^^|
           21  +
           22  +%_AECHO% Running %0 %*
           23  +
           24  +SET ROOT=%~dp0\..
           25  +SET ROOT=%ROOT:\\=\%
           26  +
           27  +SET TOOLS=%~dp0
           28  +SET TOOLS=%TOOLS:~0,-1%
           29  +
           30  +%_VECHO% Root = '%ROOT%'
           31  +%_VECHO% Tools = '%TOOLS%'
           32  +
           33  +CALL :fn_ResetErrorLevel
           34  +
           35  +%_ECHO% PUSHD "%ROOT%"
           36  +
           37  +IF ERRORLEVEL 1 (
           38  +  ECHO Could not change directory to "%ROOT%".
           39  +  GOTO errors
           40  +)
           41  +
           42  +%_ECHO% zip.exe -r sqlite-dotnet-source.zip * -x@exclude_src.txt
           43  +
           44  +IF ERRORLEVEL 1 (
           45  +  ECHO Failed to archive source files.
           46  +  GOTO errors
           47  +)
           48  +
           49  +%_ECHO% POPD
           50  +
           51  +IF ERRORLEVEL 1 (
           52  +  ECHO Could not restore directory.
           53  +  GOTO errors
           54  +)
           55  +
           56  +GOTO no_errors
           57  +
           58  +:fn_ResetErrorLevel
           59  +  VERIFY > NUL
           60  +  GOTO :EOF
           61  +
           62  +:fn_SetErrorLevel
           63  +  VERIFY MAYBE 2> NUL
           64  +  GOTO :EOF
           65  +
           66  +:usage
           67  +  ECHO.
           68  +  ECHO Usage: %~nx0
           69  +  ECHO.
           70  +  GOTO errors
           71  +
           72  +:errors
           73  +  CALL :fn_SetErrorLevel
           74  +  ENDLOCAL
           75  +  ECHO.
           76  +  ECHO Archive failure, errors were encountered.
           77  +  GOTO end_of_file
           78  +
           79  +:no_errors
           80  +  CALL :fn_ResetErrorLevel
           81  +  ENDLOCAL
           82  +  ECHO.
           83  +  ECHO Archive success, no errors were encountered.
           84  +  GOTO end_of_file
           85  +
           86  +:end_of_file
           87  +%_ECHO% EXIT /B %ERRORLEVEL%

Added exclude_src.txt.

            1  +*.cache
            2  +*.docstates
            3  +*.fossil
            4  +*.ncb
            5  +*.suo
            6  +*.user
            7  +*.zip
            8  +_FOSSIL_
            9  +bin/*
           10  +Externals/*
           11  +Membership/obj/*
           12  +obj/*
           13  +Setup/Output/*
           14  +SQLite.Designer/obj/*
           15  +System.Data.SQLite.Linq/obj/*
           16  +System.Data.SQLite/obj/*
           17  +test/obj/*
           18  +testce/obj/*
           19  +testlinq/obj/*
           20  +Tests/*
           21  +www/*

Deleted tools/mergebin/ReadMe.txt.

     1         -========================================================================
     2         -    CONSOLE APPLICATION : mergebin Project Overview
     3         -========================================================================
     4         -
     5         -AppWizard has created this mergebin application for you.  
     6         -
     7         -This file contains a summary of what you will find in each of the files that
     8         -make up your mergebin application.
     9         -
    10         -
    11         -mergebin.vcproj
    12         -    This is the main project file for VC++ projects generated using an Application Wizard. 
    13         -    It contains information about the version of Visual C++ that generated the file, and 
    14         -    information about the platforms, configurations, and project features selected with the
    15         -    Application Wizard.
    16         -
    17         -mergebin.cpp
    18         -    This is the main application source file.
    19         -
    20         -/////////////////////////////////////////////////////////////////////////////
    21         -Other standard files:
    22         -
    23         -StdAfx.h, StdAfx.cpp
    24         -    These files are used to build a precompiled header (PCH) file
    25         -    named mergebin.pch and a precompiled types file named StdAfx.obj.
    26         -
    27         -/////////////////////////////////////////////////////////////////////////////
    28         -Other notes:
    29         -
    30         -AppWizard uses "TODO:" comments to indicate parts of the source code you
    31         -should add to or customize.
    32         -
    33         -/////////////////////////////////////////////////////////////////////////////

Deleted tools/setup/exe/setup/ReadMe.txt.

     1         -========================================================================
     2         -    WIN32 APPLICATION : setup Project Overview
     3         -========================================================================
     4         -
     5         -AppWizard has created this setup application for you.  
     6         -
     7         -This file contains a summary of what you will find in each of the files that
     8         -make up your setup application.
     9         -
    10         -
    11         -setup.vcproj
    12         -    This is the main project file for VC++ projects generated using an Application Wizard. 
    13         -    It contains information about the version of Visual C++ that generated the file, and 
    14         -    information about the platforms, configurations, and project features selected with the
    15         -    Application Wizard.
    16         -
    17         -setup.cpp
    18         -    This is the main application source file.
    19         -
    20         -/////////////////////////////////////////////////////////////////////////////
    21         -AppWizard has created the following resources:
    22         -
    23         -setup.rc
    24         -    This is a listing of all of the Microsoft Windows resources that the
    25         -    program uses.  It includes the icons, bitmaps, and cursors that are stored
    26         -    in the RES subdirectory.  This file can be directly edited in Microsoft
    27         -    Visual C++.
    28         -
    29         -Resource.h
    30         -    This is the standard header file, which defines new resource IDs.
    31         -    Microsoft Visual C++ reads and updates this file.
    32         -
    33         -setup.ico
    34         -    This is an icon file, which is used as the application's icon (32x32).
    35         -    This icon is included by the main resource file setup.rc.
    36         -
    37         -small.ico
    38         -    This is an icon file, which contains a smaller version (16x16)
    39         -    of the application's icon. This icon is included by the main resource
    40         -    file setup.rc.
    41         -
    42         -/////////////////////////////////////////////////////////////////////////////
    43         -Other standard files:
    44         -
    45         -StdAfx.h, StdAfx.cpp
    46         -    These files are used to build a precompiled header (PCH) file
    47         -    named setup.pch and a precompiled types file named StdAfx.obj.
    48         -
    49         -/////////////////////////////////////////////////////////////////////////////
    50         -Other notes:
    51         -
    52         -AppWizard uses "TODO:" comments to indicate parts of the source code you
    53         -should add to or customize.
    54         -
    55         -/////////////////////////////////////////////////////////////////////////////