|
2 | 2 |
|
3 | 3 |
|
4 | 4 | 1. Download the Perforce C++ API from the Perforce FTP site at |
5 | | - <ftp://ftp.perforce.com/perforce>. \ |
| 5 | + <ftp://ftp.perforce.com/perforce> . \ |
6 | 6 | The API archive is located in release and platform-specific subdirectories and is named |
7 | | - *"p4api-glibc2.3-openssl1.1.1.tgz".<br>* |
| 7 | + *"p4api-glibc2.3-openssl1.1.1.tgz".* |
8 | 8 |
|
9 | 9 | **Note: 32-bit builds of P4Ruby require a 32-bit version of the C++ API and a 32-bit version of Ruby.\ |
10 | | - 64-bit builds of P4Ruby require a 64-bit version of the C++ API and a 64-bit version of Ruby.<br>** |
11 | | - Unzip the archive into an empty directory.<br> |
| 10 | + 64-bit builds of P4Ruby require a 64-bit version of the C++ API and a 64-bit version of Ruby.** |
| 11 | + |
| 12 | + Unzip the archive into an empty directory. |
12 | 13 |
|
13 | | -2. Extract the P4Ruby API archive into a new, empty directory.<br> |
| 14 | +2. Extract the P4Ruby API archive into a new, empty directory. |
14 | 15 |
|
15 | | -3. Execute the build commands:<br> |
| 16 | +3. Execute the build commands: |
16 | 17 |
|
17 | 18 | *bundle install \ |
18 | 19 | bundle exec rake compile -- --with-p4api_dir=<absolute path to Perforce C++ API> \ |
19 | | - --with-ssl-dir=<absolute path to OpenSSL libraries matching Perforce C++ API><br>* |
| 20 | + --with-ssl-dir=<absolute path to OpenSSL libraries matching Perforce C++ API>* |
20 | 21 |
|
21 | 22 | OR pass through environment variables\ |
22 | | - *bundle exec rake compile p4api_dir=<*absolute path to Perforce C++ API*><br>* |
| 23 | + *bundle exec rake compile p4api_dir=<absolute path to Perforce C++ API>* |
23 | 24 |
|
24 | | - **Note: If the --p4api_dir flag is not provided, P4Ruby will attempt\ |
25 | | - to download and extract correct version of Perforce C++ API<br>** |
| 25 | + **Note: If the --p4api_dir flag is not provided, P4Ruby will attempt |
| 26 | + to download and extract correct version of Perforce C++ API** |
26 | 27 |
|
27 | | -4. Test your distribution.<br> |
| 28 | +4. Test your distribution. |
28 | 29 |
|
29 | | - *bundle exec rake test<br>* |
| 30 | + *bundle exec rake test* |
30 | 31 |
|
31 | | - Tests require the perforce server binary (p4d) present in the path.<br> |
| 32 | + Tests require the perforce server binary (p4d) present in the path. |
32 | 33 |
|
33 | | -5. Install P4Ruby into your local gem cache:<br> |
| 34 | +5. Install P4Ruby into your local gem cache: |
34 | 35 |
|
35 | 36 | *bundle exec rake install* |
36 | 37 |
|
|
0 commit comments