cameo-build/README.md

42 lines
873 B
Markdown
Raw Normal View History

2022-01-02 15:08:16 +00:00
This project is used to build Cameo using podman / docker.
It could be used to build any OpenRA mod which uses make and package-all.sh.
## Checking out the code
The actual Cameo source is a git submodule. If you are cloning this initially, use
```
git clone --recurse-submodules https://gitea.burntworld.ca/kienan/cameo-build.git
```
If you already have the source checked out:
```
git submodule init
```
### Updating the checked out Cameo mod code
```
git submodule update
```
## Building container image
```
2022-01-02 15:52:57 +00:00
podman build -t cameo-build:latest .
2022-01-02 15:08:16 +00:00
```
## Building Cameo
```
podman run -v $(pwd)/Cameo-mod:/workdir localhost/cameo-build:latest
```
To build the release packages (exe, AppImage):
```
podman run -v $(pwd)/Cameo-mod:/workdir -e RELEASE_VERSION=$(git --git-dir=Cameo-mod/.git --work-tree=Cameo-mod describe --tags) localhost/cameo-build:latest
```