From 53422f08b21ae5c26068e1d4756ae6a3d44b5393 Mon Sep 17 00:00:00 2001 From: Ivan Bondarev Date: Sun, 7 Feb 2016 12:51:02 +0100 Subject: [PATCH] Update README.md --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/README.md b/README.md index b1fa37db3..f98448ae3 100644 --- a/README.md +++ b/README.md @@ -44,3 +44,51 @@ $ mono pabcnetc.exe ## Тесты Тесты расположены в папке TestSuite. Прогон тестов осуществляется программой bin/TestRunner.exe + +---------------------------------------------------------------------------- +## Building PascalABC.NET in Windows +_RebuildReleaseAndRunTests.bat builds the project in Release-mode, rebuilds the pas-units and runs tests (run with administrative privileges!). + +_GenerateAllSetups.bat builds the project in Release-mode, rebuilds the pas-units, runs tests and creates the install package (run with administrative privileges!). + +_ReBuildRelease.bat builds the project in Release-mode. + +_ReBuildDebug.bat builds the project in Debug-mode. + + +PascalABC is being developed in Visual Studio Community 2015. + +## Building PascalABC.NET in Linux (Ubuntu) +Install Mono (http://www.mono-project.com/docs/getting-started/install/linux/) +```bash +sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF +echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list +sudo apt-get update +sudo apt-get install mono-devel +sudo apt-get install mono-complete +``` + +Build the project and run tests. +```bash +$ git clone https://github.com/pascalabcnet/pascalabcnet +$ cd pascalabcnet +$ sudo sh _RebuildReleaseAndRunTests.sh +``` + +## Building PascalABC.NET in MacOS +Download and install Mono from official page. Install the git-client. Run the commands: +```bash +$ git clone https://github.com/pascalabcnet/pascalabcnet +$ cd pascalabcnet +$ sudo sh _RebuildReleaseAndRunTests.sh +``` + +### Run the PascalABC.NET command line compiler +```bash +$ cd bin +$ mono pabcnetc.exe +или $ mono --debug pabcnetc.exe +``` + +## Tests +Tests are located in the directory "TestSuite". To run the tests execute the file bin/TestRunner.exe