Commit Graph

34 Commits

Author SHA1 Message Date
Jukka Jylänki
03ed83c3fa For conveniency, if user calls 'emsdk activate', activate the latest versions of ALL installed tools. 2013-11-20 13:09:51 +02:00
Jukka Jylänki
082f334c22 If URL download fails, delete the partially downloaded file (if it exists). If unzipping fails, print an error, and if the zip was corrupted, delete the corrupted file. Fixes https://github.com/kripken/emscripten/issues/1687. 2013-11-19 15:26:45 +02:00
Jukka Jylänki
a095a8d4ed Adjust the behavior of the 'emsdk activate x y z' command to _add_ the given tools to the set of active tools, and not replace the set of tools altogether. Fixes https://github.com/kripken/emscripten/issues/1788. 2013-11-17 14:33:02 +02:00
Jukka Jylänki
0a2a758c80 Treat relative paths in installation relative to emsdk root, not the cwd root. This enables invoking 'emsdk' from directories outside the sdk root directory. Fixes https://github.com/kripken/emscripten/issues/1786. 2013-11-13 19:25:57 +02:00
Jukka Jylänki
8d299c5a8b Clean up old leftover code. Fixes https://github.com/kripken/emscripten/issues/1787. 2013-11-13 18:41:06 +02:00
Jukka Jylanki
bdf5aa52c1 Make emsdk executable. 2013-11-13 14:17:59 +02:00
Jukka Jylänki
d91e36d197 Fix MSBuild find to look from both (x86) and non-x86 program files. Fixes https://github.com/kripken/emscripten/issues/1770. 2013-11-08 13:53:07 +02:00
Jukka Jylänki
435aac6d0a Implement '--strip 1' behavior when unzipping .zip files so that github tag release .zip files can be used as-is as installers for emscripten tool. 2013-10-28 17:49:40 +02:00
Jukka Jylänki
0873f1df63 Use PortableGit from git\bin\git.exe instead of git\cmd\git.exe, which seems to be the preferred use. 2013-10-28 13:56:37 +02:00
Jukka Jylänki
6693d2d4fa Fix issue where incoming and master SDKs were not listed in the 'emsdk list' output. Thanks to MTRo for providing the fix! 2013-10-28 13:29:57 +02:00
Jukka Jylänki
b9e454aade Also cleanup temp SDK update zips after update succeeds. 2013-10-28 13:15:29 +02:00
Jukka Jylänki
8936fda391 Delete temporary downloaded installer zip files after installation of a tool finishes successfully. Closes https://github.com/kripken/emscripten/issues/1699 . 2013-10-28 13:14:21 +02:00
Jukka Jylänki
1e149a19e7 Specify the OS default temp directory as the temp dir for the sdk. 2013-10-23 13:17:39 +03:00
Jukka Jylänki
886fe44124 'latest' can be passed as param to 'activate' as well. 2013-10-15 19:38:17 +03:00
Jukka Jylänki
e61e456e38 Remove code duplication. 2013-10-15 17:51:44 +03:00
Jukka Jylänki
289b14fa81 Add pseudo-SDKs 'latest-32bit' and 'latest-64bit' to point to the latest SDKs with given bitness. Have 'latest' SDK download the bitness that the current OS is. 2013-10-15 17:48:04 +03:00
Jukka Jylanki
ffabac33b2 Fix OSX file permissions. 2013-09-30 17:45:10 +03:00
Jukka Jylänki
4b9a7c15c3 Fix path handling on download_and_unzip after previous change. 2013-09-30 14:28:51 +03:00
Jukka Jylänki
4bc8e9e2c4 Force update to unzip package even if previous update had been performed. 2013-09-30 14:16:46 +03:00
Jukka Jylänki
170e230a2f Fix missing trailing slash on directory name. urljoin is sensitive about this! 2013-09-30 14:13:30 +03:00
Jukka Jylänki
703cfab158 Add emsdk_packages_url variable to point to directory where actual downloadable SDK packages reside. Improve SDK update to fetch a package file. 2013-09-30 14:02:58 +03:00
Jukka Jylänki
1c6adfdb68 Use urlparse.urljoin for http path concatenation in case absolute http download locations are specified in the future. 2013-09-30 13:43:33 +03:00
Jukka Jylänki
db9b9e02d1 Point emsdk master server location to Amazon S3. 2013-09-30 13:40:08 +03:00
Jukka Jylänki
5b9c533a20 Download emsdk.bat on update. 2013-09-11 21:34:13 +03:00
Jukka Jylänki
8266419d3e Add emsdk_env.bat to create a mechanism of how to set up all environment variables required for a setup, not just PATH. 2013-09-10 17:18:04 +03:00
Jukka Jylänki
95b00a1df4 Download all SDK files on emsdk update 2013-09-05 19:57:06 +03:00
Jukka Jylänki
d8ad6ce846 Fix line ending conversion write routines. 2013-09-05 19:29:34 +03:00
Jukka Jylänki
f6eb90b69e Both Windows and Unix download the same script/text files when updating the SDK, so convert the line endings on the scripts after downloading to local convention to avoid having to host different versions of emsdk itself for different OSes. 2013-09-05 19:15:32 +03:00
Jukka Jylänki
ca57f3a993 Download README.md instead of README.txt as part of the SDK update, due to the previous change. 2013-09-05 17:00:47 +03:00
Jukka Jylänki
d7650906ed Document EMSDK_DEV env var 2013-09-05 16:54:15 +03:00
Jukka Jylänki
0065fd3bc0 Pretty-print HTTP errors when downloading a file. 2013-09-05 16:52:01 +03:00
Jukka Jylänki
611cc1852c Make emsdk executable on UNIX 2013-09-05 16:43:22 +03:00
Jukka Jylänki
fb549cdf5e Make emsdk work on OSX. 2013-09-05 16:42:27 +03:00
Jukka Jylänki
e91a49b185 Initial repository commit. 2013-09-05 12:23:53 +03:00