UPD: Update build process (#92)

- use environment variable to set Lazarus path instead of modifying
  build.bat which is under source control
- add .gitignore file
This commit is contained in:
Steffen Rehberg 2021-05-29 11:56:52 +02:00 committed by GitHub
commit 87bbf76769
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 4 deletions

36
.gitignore vendored Normal file
View file

@ -0,0 +1,36 @@
# Lazarus compiler-generated binaries (safe to delete)
*.exe
*.dll
*.so
*.dylib
*.lrs
*.res
*.compiled
*.dbg
*.ppu
*.o
*.or
*.a
*.zdli
*.wcx
*.wdx
*.wfx
units/x86_64-win64-win32
units/i386-win32-win32
# Lazarus autogenerated files (duplicated info)
*.rst
*.rsj
*.lrt
# Lazarus local files (user-specific info)
*.lps
# Lazarus backups and unit output folders.
# These can be changed by user in Lazarus/project options.
backup/
*.bak
lib/
# Application bundle for Mac OS
*.app/

View file

@ -1,9 +1,8 @@
@echo off
rem the next two line must be changed before run on your computer
set lazpath=D:\Alexx\Prog\FreePascal\Lazarus
set PATH=%lazpath%;%PATH%
rem Add Lazarus installation to path
if [%LAZARUS_HOME%] == [] set LAZARUS_HOME=D:\Alexx\Prog\FreePascal\Lazarus
set PATH=%LAZARUS_HOME%;%PATH%
rem You can execute this script with different parameters:
rem components - compiling components needed for DC