Sha256: cba4566727229afb3531df25a310a55be6771ed3b28a49162c56b69e60e40eb5

Contents?: true

Size: 1.6 KB

Versions: 15

Compression:

Stored size: 1.6 KB

Contents

How to use bake with cygwin
===========================
Why using Cygwin on Windows instead of the built-in command shell? 
There is one major reason: Cygwin supports **colored output** via ansi escape sequences. 
Note, that these steps differ depending on the Cygwin version, installed packages and configuration.

#. Get rid of the cygdrive prefix

    .. image:: ../_static/cygwin_mount.png
        :width: 100 %
        :scale: 50 %

    As you see, "c:" is now "/c" and not "/cygdrive/c" anymore. 

    .. note::

        In newer Cygwin versions, this is not permanent. To make it permanent, 
        add the following line to /etc/fstab (can be found in your Cygwin installation directory):

        .. code-block:: console
            
            none / cygdrive binary,posix=0,user 0 0

#. Get rid of the Cygwin ruby

    .. image:: ../_static/cygwin_ruby.png
        :width: 100 %
        :scale: 50 %
   
    Easiest way is to rename the Cygwin ruby, which makes the original ruby visible. 
    This is only necessary if you have ruby installed in our Cygwin environment.

#. Add tty to CYGWIN option

    .. image:: ../_static/cygwin_tty.png
        :width: 100 %
        :scale: 70 %

    "tty" must be added to the CYGWIN system variable.

#. Start the build

    Use the parameter "-a black" or "-a white" depending on the background color of your shell.
    Depending on your Cygwin installation, you have to call "bake.bat" instead of "bake". To avoid this, create an alias, e.g:

    .. code-block:: console

        alias bake=/c/Programme/_dev/Ruby192/bin/bake.bat

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bake-toolkit-2.18.0 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.17.4 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.17.3 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.17.2 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.17.1 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.16.1 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.15.0 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.14.0 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.13.1 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.13.0 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.12.2 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.12.1 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.12.0 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.11.4 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt
bake-toolkit-2.11.3 documentation/_build/html/_sources/tips_and_tricks/how_to_use_bake_with_cygwin.txt