Commit Graph

5 Commits

Author SHA1 Message Date
Ryan Prichard
b45220b00d Mark *.gypi as text 2015-12-29 18:40:08 -06:00
Ryan Prichard
2ae966521e gyp improvements:
* Add a src/configurations.gypi file that can be included on the gyp
   command-line to enable 32-bit and 64-bit builds in the generated project
   files.

 * Make winpty.gyp work if gyp is run with Cygwin python.  It still works
   with normal python.
2015-12-29 18:33:55 -06:00
Ryan Prichard
7b7192e441 Add version tracking. Add a --version arg to console and winpty-agent.
There is a "version suffix" that defaults to "-dev".  A maintainer could
change the suffix (or remove it) by invoking make:

    make BUILD_SUFFIX=-foo
    make BUILD_SUFFIX=

It can also be changed in gyp builds:

    gyp winpty.gyp --depth=1 -D BUILD_SUFFIX=-foo
    gyp winpty.gyp --depth=1 -D BUILD_SUFFIX=

If git cannot be executed, the string "none" is used for the commit hash.
2015-11-07 21:19:03 -06:00
Ryan Prichard
00ea69db7a Try to end line ending problems by marking text files in .gitattributes
* The files in the repo are natively LF.

 * These days, I'm using Cygwin git, which is creating a checkout full of
   LF files.

 * I think this .gitattributes file will instruct git to use the default
   line ending for almost all the files.  I'm forcing LF on shell scripts,
   because Cygwin/MSYS chokes on CRLF shell scripts.

 * For my Cygwin git checkouts, the default is LF.  I'll get a warning if
   I try to checkin an CRLF file, but that's OK.
2015-10-21 20:06:25 -05:00
Ryan Prichard
82cfc70d98 Create a configure script.
* Move the Cygwin/MSYS detection logic from config-*.mk into this new
   script.

 * Recognize either the 32-bit MinGW or the 32-bit MinGW-w64 compiler
   driver for Cygwin.
2012-03-25 15:55:03 -07:00