File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # for local testing of the project in Ubuntu 14.04 (via VirtualBox)
4+
5+ # create download folder 'download_FPC'
6+ cd ~
7+ mkdir download_FPC
8+ cd download_FPC
9+
10+ # download the FPC + lazarus IDE (1.6.2)
11+ wget http://mirrors.iwi.me/lazarus/releases/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.2/fpc_3.0.0-151205_amd64.deb
12+ wget http://mirrors.iwi.me/lazarus/releases/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.2/fpc-src_3.0.0-151205_amd64.deb
13+ wget http://mirrors.iwi.me/lazarus/releases/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.2/lazarus-project_1.6.2-1_amd64.deb
14+
15+ # Install the downloaded FPC + lazarus IDE
16+ sudo dpkg -i ./* .deb
17+ # install all the software dependency it needed
18+ sudo apt install -f -y
19+
20+ # install git
21+ sudo apt-get install git -y
22+
23+ # Download the source code in the home folder
24+ cd ~
25+ git clone --recursive https://github.com/GerryFerdinandus/bittorrent-tracker-editor.git
26+
27+ # build the source code trackereditor. (optional: --build-mode=Release)
28+ lazbuild --build-mode=Debug bittorrent-tracker-editor/source/project/tracker_editor/trackereditor.lpi
29+
30+ # build the source code tracker_editor_test
31+ lazbuild --build-mode=Debug bittorrent-tracker-editor/source/project/unit_test/tracker_editor_test.lpi
32+
33+ # Run the unit test
34+ ./bittorrent-tracker-editor/enduser/test_trackereditor -a --format=plain
35+
36+
37+
38+
39+
40+
You can’t perform that action at this time.
0 commit comments