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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 # a string containing a list of platforms to include in the VSIX package. The | 70 # a string containing a list of platforms to include in the VSIX package. The |
71 # platform list is "platform1,platform2,platform3". The fifth argument is | 71 # platform list is "platform1,platform2,platform3". The fifth argument is |
72 # optional and if present must contain the version of Visual Studio required by | 72 # optional and if present must contain the version of Visual Studio required by |
73 # the package. Currently, the only supported versions are "2012" and "2013". | 73 # the package. Currently, the only supported versions are "2012" and "2013". |
74 # The package flavors "WinRT81" and "WP81" are only supported when the Visual | 74 # The package flavors "WinRT81" and "WP81" are only supported when the Visual |
75 # Studio version is "2013". Typically, when on Windows, this script is | 75 # Studio version is "2013". Typically, when on Windows, this script is |
76 # executed using commands similar to the following from a normal Windows | 76 # executed using commands similar to the following from a normal Windows |
77 # command prompt: | 77 # command prompt: |
78 # | 78 # |
79 # CD /D C:\dev\sqlite\core | 79 # CD /D C:\dev\sqlite\core |
80 # tclsh85 tool\mkvsix.tcl C:\Temp | 80 # tclsh tool\mkvsix.tcl C:\Temp |
81 # | 81 # |
82 # In the example above, "C:\dev\sqlite\core" represents the root of the source | 82 # In the example above, "C:\dev\sqlite\core" represents the root of the source |
83 # tree for SQLite and "C:\Temp" represents the top-level directory containing | 83 # tree for SQLite and "C:\Temp" represents the top-level directory containing |
84 # the executable and other compiled binary files, organized into a directory | 84 # the executable and other compiled binary files, organized into a directory |
85 # tree as described in item 6 of the PREREQUISITES section, above. | 85 # tree as described in item 6 of the PREREQUISITES section, above. |
86 # | 86 # |
87 # This script should work on non-Windows platforms as well, provided that all | 87 # This script should work on non-Windows platforms as well, provided that all |
88 # the requirements listed in the PREREQUISITES section are met. | 88 # the requirements listed in the PREREQUISITES section are met. |
89 # | 89 # |
90 # NOTES | 90 # NOTES |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 if {$argc >= 5} then { | 379 if {$argc >= 5} then { |
380 set vsVersion [lindex $argv 4] | 380 set vsVersion [lindex $argv 4] |
381 } else { | 381 } else { |
382 set vsVersion 2012 | 382 set vsVersion 2012 |
383 } | 383 } |
384 | 384 |
385 if {[string length $vsVersion] == 0} then { | 385 if {[string length $vsVersion] == 0} then { |
386 fail "invalid Visual Studio version" | 386 fail "invalid Visual Studio version" |
387 } | 387 } |
388 | 388 |
error: old chunk mismatch |
None
OLD | NEW |