ADDED Setup/archive.bat Index: Setup/archive.bat ================================================================== --- /dev/null +++ Setup/archive.bat @@ -0,0 +1,87 @@ +@ECHO OFF + +:: +:: archive.bat -- +:: +:: Source Archiving Tool +:: +:: Written by Joe Mistachkin. +:: Released to the public domain, use at your own risk! +:: + +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% + +%_VECHO% Root = '%ROOT%' +%_VECHO% Tools = '%TOOLS%' + +CALL :fn_ResetErrorLevel + +%_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 + +IF ERRORLEVEL 1 ( + ECHO Could not restore directory. + GOTO errors +) + +GOTO no_errors + +:fn_ResetErrorLevel + VERIFY > NUL + GOTO :EOF + +:fn_SetErrorLevel + VERIFY MAYBE 2> NUL + GOTO :EOF + +:usage + ECHO. + ECHO Usage: %~nx0 + ECHO. + GOTO errors + +:errors + CALL :fn_SetErrorLevel + ENDLOCAL + ECHO. + ECHO Archive failure, errors were encountered. + GOTO end_of_file + +:no_errors + CALL :fn_ResetErrorLevel + ENDLOCAL + ECHO. + ECHO Archive success, no errors were encountered. + GOTO end_of_file + +:end_of_file +%_ECHO% EXIT /B %ERRORLEVEL% ADDED exclude_src.txt Index: exclude_src.txt ================================================================== --- /dev/null +++ exclude_src.txt @@ -0,0 +1,21 @@ +*.cache +*.docstates +*.fossil +*.ncb +*.suo +*.user +*.zip +_FOSSIL_ +bin/* +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/* DELETED tools/mergebin/ReadMe.txt Index: tools/mergebin/ReadMe.txt ================================================================== --- tools/mergebin/ReadMe.txt +++ /dev/null @@ -1,33 +0,0 @@ -======================================================================== - CONSOLE APPLICATION : mergebin Project Overview -======================================================================== - -AppWizard has created this mergebin application for you. - -This file contains a summary of what you will find in each of the files that -make up your mergebin application. - - -mergebin.vcproj - This is the main project file for VC++ projects generated using an Application Wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - Application Wizard. - -mergebin.cpp - This is the main application source file. - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named mergebin.pch and a precompiled types file named StdAfx.obj. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" comments to indicate parts of the source code you -should add to or customize. - -///////////////////////////////////////////////////////////////////////////// DELETED tools/setup/exe/setup/ReadMe.txt Index: tools/setup/exe/setup/ReadMe.txt ================================================================== --- tools/setup/exe/setup/ReadMe.txt +++ /dev/null @@ -1,55 +0,0 @@ -======================================================================== - WIN32 APPLICATION : setup Project Overview -======================================================================== - -AppWizard has created this setup application for you. - -This file contains a summary of what you will find in each of the files that -make up your setup application. - - -setup.vcproj - This is the main project file for VC++ projects generated using an Application Wizard. - It contains information about the version of Visual C++ that generated the file, and - information about the platforms, configurations, and project features selected with the - Application Wizard. - -setup.cpp - This is the main application source file. - -///////////////////////////////////////////////////////////////////////////// -AppWizard has created the following resources: - -setup.rc - This is a listing of all of the Microsoft Windows resources that the - program uses. It includes the icons, bitmaps, and cursors that are stored - in the RES subdirectory. This file can be directly edited in Microsoft - Visual C++. - -Resource.h - This is the standard header file, which defines new resource IDs. - Microsoft Visual C++ reads and updates this file. - -setup.ico - This is an icon file, which is used as the application's icon (32x32). - This icon is included by the main resource file setup.rc. - -small.ico - This is an icon file, which contains a smaller version (16x16) - of the application's icon. This icon is included by the main resource - file setup.rc. - -///////////////////////////////////////////////////////////////////////////// -Other standard files: - -StdAfx.h, StdAfx.cpp - These files are used to build a precompiled header (PCH) file - named setup.pch and a precompiled types file named StdAfx.obj. - -///////////////////////////////////////////////////////////////////////////// -Other notes: - -AppWizard uses "TODO:" comments to indicate parts of the source code you -should add to or customize. - -/////////////////////////////////////////////////////////////////////////////