Commit Graph

3 Commits

Author SHA1 Message Date
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