Skip to content

Latest commit

 

History

History
62 lines (46 loc) · 1.27 KB

README-BUILD.md

File metadata and controls

62 lines (46 loc) · 1.27 KB

How to build the xPack Test Next binaries

TBD

Download the build scripts repo

The build scripts are available in the scripts folder of the xpack-dev-tools/test-next-xpack Git repo.

To download them, issue the following commands:

rm -rf ${HOME}/Work/test-next-xpack.git; \
git clone \
  https://github.com/xpack-dev-tools/test-next-xpack.git \
  ${HOME}/Work/test-next-xpack.git; \
git -C ${HOME}/Work/test-next-xpack.git submodule update --init --recursive

Note: the repository uses submodules; for a successful build it is mandatory to recurse the submodules.

For development purposes, clone the xpack-develop branch:

rm -rf ${HOME}/Work/test-next-xpack.git; \
git clone \
  --branch xpack-develop \
  https://github.com/xpack-dev-tools/test-next-xpack.git \
  ${HOME}/Work/test-next-xpack.git; \
git -C ${HOME}/Work/test-next-xpack.git submodule update --init --recursive

Install dependencies

cd ${HOME}/Work/test-next-xpack.git
xpm install

Build

xpm run build --config release
xpm run build-develop --config release
xpm run build --config debug

Clean

xpm run clean --config release
xpm run clean --config debug