diff --git a/Setting-up-pdf.js-Development-Environment-for-Window.md b/Setting-up-pdf.js-Development-Environment-for-Window.md deleted file mode 100644 index 18e4488..0000000 --- a/Setting-up-pdf.js-Development-Environment-for-Window.md +++ /dev/null @@ -1,9 +0,0 @@ -The simplest way to setup the development environment for the pdf.js project: - -* Git for Windows (http://code.google.com/p/msysgit/); - -* Mozilla build environment (http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe). - -If the Visual Studio is not installed or to avoid switching between the git bash and the Mozilla build environment, modify any startXXX.cmd file in the c:\mozilla-build to look like https://gist.github.com/1518181 . - -See also [[Contributing]] and https://github.com/mozilla/pdf.js. \ No newline at end of file diff --git a/Setting-up-pdf.js-Development-Environment-for-Windows.md b/Setting-up-pdf.js-Development-Environment-for-Windows.md new file mode 100644 index 0000000..6eff7ef --- /dev/null +++ b/Setting-up-pdf.js-Development-Environment-for-Windows.md @@ -0,0 +1,23 @@ +The simplest way to setup the development environment for the pdf.js project: + +* Git for Windows (http://code.google.com/p/msysgit/); + +* Mozilla build environment (http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe). + +If the Visual Studio is not installed or to avoid switching between the git bash and the Mozilla build environment, modify any startXXX.cmd file in the c:\mozilla-build to look like https://gist.github.com/1518181 . + +## Cygwin Environment +Another way to setup an development environment for the pdf.js project is to use [Cygwin](http://www.cygwin.com/) which is a collection of tools providing basic Linux API look and feel. +Download the latest 'setup.exe' file from Cygwins website, and follow the install instructions until you reach the "Select Packages" screen. Here you should at least choose: + + * [Devel] -> git + * [Devel] -> make + * [Interpreters] -> python + +You should now be able to fork/push your repositories. To build the project you'll also need "gjslint", which can be installed as an [easy_install](http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install) package using: + +```> easy_install http://closure-linter.googlecode.com/files/closure_linter-latest.tar.gz``` + +from your new shell (Cygwin Bash Shell). With these tools you should be able to build/hack/etc. the rep. + +See also [[Contributing]] and https://github.com/mozilla/pdf.js. \ No newline at end of file