annotate install.cmd @ 463:b7eb9c9bd3b4

Ignore tags in mercurial.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 14 Jan 2019 20:50:04 -0800
parents a9011b1b073f
children 6f788c83b7f6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32
d07ca3d7f36c Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents: 28
diff changeset
1 @echo off
d07ca3d7f36c Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents: 28
diff changeset
2 setlocal
d07ca3d7f36c Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents: 28
diff changeset
3
d07ca3d7f36c Updated Windows scripts
Ludovic Chabant <ludovic@chabant.com>
parents: 28
diff changeset
4 set CWD=%~dp0
124
20c49d51f7e3 Added `.gitconfig`.
Ludovic Chabant <ludovic@chabant.com>
parents: 95
diff changeset
5
415
e57b012539d5 Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents: 407
diff changeset
6 set PYEXE=python
e57b012539d5 Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents: 407
diff changeset
7 where %PYEXE% 2>nul
e57b012539d5 Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents: 407
diff changeset
8 if errorlevel 1 (
e57b012539d5 Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents: 407
diff changeset
9 echo Python isn't in your PATH. Run the install script yourself.
e57b012539d5 Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents: 407
diff changeset
10 exit /b 1
e57b012539d5 Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents: 407
diff changeset
11 )
e57b012539d5 Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents: 407
diff changeset
12
433
a9011b1b073f Actually run the command, duh.
Ludovic Chabant <ludovic@chabant.com>
parents: 415
diff changeset
13 python %CWD%install.py %*
415
e57b012539d5 Check if Python is in the `PATH` on Windows.
Ludovic Chabant <ludovic@chabant.com>
parents: 407
diff changeset
14