Update compilation authored by Karel Slaný's avatar Karel Slaný
......@@ -238,6 +238,27 @@ Also you must provide a minimal POSIX-compliant environment in order to run the
> Don't run `./scripts/build_windows_bundle.sh` and `./scripts/build_windows_bundle.sh --portable-data` simultaneously as it will probably break the compilation process.
###### Building from Git
Use the `scripts/build_git_archive.sh` script to build a git archive. Eg.:
```shell
> ./scripts/build_git_archive.sh -c 90bd2fb92783468f19852140d0080cc2273fa385
Building archive version '4.15.1' from commit '90bd2fb92783468f19852140d0080cc2273fa385'.
...
File size of 'datovka-4.15.1.9999.20200716.140039.90bd2fb92783468f.tar.xz.sha256' OK.
datovka-4.15.1.9999.20200716.140039.90bd2fb92783468f.tar.xz
```
Once the source archive is available use the `-v` parameter to pass the package version (here it is `4.15.1.9999.20200716.140039.90bd2fb92783468f`) to build package bundles:
```shell
> ./scripts/build_windows_bundle.sh -v 4.15.1.9999.20200716.140039.90bd2fb92783468f -p
```
```shell
> ./scripts/build_windows_bundle.sh -v 4.15.1.9999.20200716.140039.90bd2fb92783468f -p --portable-data
```
###### Create Packages
In order to compile and package the entire application just run (use lowercase `-p`):
......
......