OLD | NEW |
1 #!/usr/bin/tclsh | 1 #!/usr/bin/tclsh |
2 # | 2 # |
3 # This script is used to generate a VSIX (Visual Studio Extension) file for | 3 # This script is used to generate a VSIX (Visual Studio Extension) file for |
4 # SQLite usable by Visual Studio. | 4 # SQLite usable by Visual Studio. |
5 # | 5 # |
6 # PREREQUISITES | 6 # PREREQUISITES |
7 # | 7 # |
8 # 1. Tcl 8.4 and later are supported, earlier versions have not been tested. | 8 # 1. Tcl 8.4 and later are supported, earlier versions have not been tested. |
9 # | 9 # |
10 # 2. The "sqlite3.h" file is assumed to exist in the parent directory of the | 10 # 2. The "sqlite3.h" file is assumed to exist in the parent directory of the |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 fconfigure $file_id -encoding binary -translation binary | 164 fconfigure $file_id -encoding binary -translation binary |
165 set result [read $file_id] | 165 set result [read $file_id] |
166 close $file_id | 166 close $file_id |
167 return $result | 167 return $result |
168 } | 168 } |
169 | 169 |
170 | 170 |
171 proc writeFile { fileName data } { | 171 proc writeFile { fileName data } { |
172 # | 172 # |
173 # NOTE: Writes the entire contents of the specified file, which may contain | 173 # NOTE: Writes the entire contents of the specified file, which may contain |
error: old chunk mismatch |
None
OLD | NEW |