Added Travis CI configuration file (#10) and updated Readme

Added Travis CI configuration file and updated Readme
This commit is contained in:
Aussiemon 2018-06-06 13:51:15 -06:00 committed by GitHub
parent d36f0b3d44
commit 71ebde44f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 71 additions and 9 deletions

18
.travis.yml Normal file
View file

@ -0,0 +1,18 @@
# .travis.yml
language: python
sudo: false
env:
- LUA="lua=5.1"
before_install:
- pip install hererocks
- hererocks lua_install -r^ --$LUA
- export PATH=$PATH:$PWD/lua_install/bin
install:
- luarocks install luacheck
script:
- luacheck *.lua vmf

View file

@ -1,13 +1,57 @@
# Building <p align="center">
<a href="#welcome-to-the-vermintide-mod-framework-vmf-repository">
<img
alt="Vermintide Mod Framework"
src="https://i.imgur.com/ggIsleN.png"
width="600"
/>
</a>
</p>
<p align="center">
<a href="https://travis-ci.com/Vermintide-Mod-Framework/Vermintide-Mod-Framework">
<img
alt="Build Status"
src="https://travis-ci.com/Vermintide-Mod-Framework/Vermintide-Mod-Framework.svg?branch=master"
width="100"
/>
</a>
</p>
## Prerequisites
- You should be subscribed to VMF in Steam Workshop [[VT1](https://steamcommunity.com/sharedfiles/filedetails/?id=1289946781), [VT2](https://steamcommunity.com/sharedfiles/filedetails/?id=1369573612)], depending on which version you want to compile.
- You will also need [Vermintide Mod Builder](https://github.com/Vermintide-Mod-Framework/Vermintide-Mod-Builder).
## Building steps: ## Welcome to the Vermintide Mod Framework (VMF) Repository!
1. Unpack VMB somewhere. Let's assume, it's unpacked into the folder named `vermintide-mod-builer`. The Vermintide Mod Framework is an open-source, community-run framework of modules that provides enhanced modding capabilities and support. The framework is designed to be both independent and lightweight; making no changes to gameplay on its own.
2. Create a folder inside `vermintide-mod-builer` (we'll call it `vermintide-mod-framework`) and then clone VMF repo into this folder.
3. Open console window inside `vermintide-mod-builer` and use following command to build VMF: `vmb build vmf -f vermintide-mod-framework --ignore-errors -g [1/2]`, where number after `-g` indicates the Vermintide game number for which VMF is built.
You can find more information on how mod building works in Vermintide Mod Builder documentation. Mods created for the project may utilize:
* Mod options
* Shared function hooks
* Chat commands
* Keybinds
* Mutator support (for now available only in Vermintide 1)
* Network calls
* QHD+ UI re-scaling
* Rewritten, lightweight mod functions
* An on-event call system
The Vermintide Mod Framework originally started in Warhammer End Times: Vermintide as an unofficial modding platform. In the time since, VMF has been rewritten and redesigned with contributions from many unique members of the community; culminating in this unified project made for the arrival of official mod support.
For more information, check out **[the framework's wiki pages](https://github.com/Vermintide-Mod-Framework/Vermintide-Mod-Framework/wiki)**.
## Building the Framework
### Prerequisites:
- To start, you should be subscribed to the Steam Workshop version of VMF that you'd like to compile. (**[Warhammer End Times - Vermintide](https://steamcommunity.com/sharedfiles/filedetails/?id=1289946781)** or **[Warhammer: Vermintide 2](https://steamcommunity.com/sharedfiles/filedetails/?id=1369573612)**)
- You should also install **[Vermintide Mod Builder (VMB)](https://github.com/Vermintide-Mod-Framework/Vermintide-Mod-Framework/wiki/Get-Vermintide-Mod-Builder)**.
### Building Steps:
1. Navigate to your VMB directory. Let's assume it's unpacked into a folder named `vermintide-mod-builder`.
2. Create a folder inside `vermintide-mod-builder` (we'll call it `vermintide-mod-framework`) and **[clone](https://git-scm.com/docs/git-clone)** in the VMF repository's contents.
3. Open a console/Command Prompt/Powershell window inside your `vermintide-mod-builder` directory and use the following VMB command: `vmb build vmf -f vermintide-mod-framework --ignore-errors -g [1|2]`, where the number after `-g` indicates the target Vermintide game.
You can find more VMB mod-building information in the **[Vermintide Mod Builder documentation](https://github.com/Vermintide-Mod-Framework/Vermintide-Mod-Builder/blob/master/README.md)**.