Skip to content

Commit

Permalink
restructure and make a mod of it
Browse files Browse the repository at this point in the history
	* CBA style
	* deleted:
		* remove timing macros - there's a profiler for that
		* remove functions to place static cars and civs
		  they didnt fit in really. might re-introduce later.
	* added:
		* setting for corpsemanager mode
		* setting to allow civs on empty servers
		* some inline TODOs for shit that was out of scope
  • Loading branch information
Moritz Schmidt authored and Fusselwurm committed Jun 19, 2020
1 parent 02ce197 commit ea44983
Show file tree
Hide file tree
Showing 298 changed files with 4,418 additions and 1,649 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ace_sqf_validator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: ACE SQF validator

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
wget https://raw.githubusercontent.com/acemod/ACE3/b181fa6013d30a06b310b367caa5039435b085d0/tools/sqf_validator.py
sed -i '117d' sqf_validator.py
sed -i '116d' sqf_validator.py
sed -i '115d' sqf_validator.py
- name: Lint
run: |
python3 sqf_validator.py
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on: [push, pull_request]

jobs:
hemtt:
name: HEMTT
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Build with HEMTT
uses: gruppe-adler/[email protected]
id: build

- name: Upload artifact
uses: actions/[email protected]
with:
name: 'grad_civs'
path: ${{ steps.build.outputs.zip_path }}
27 changes: 27 additions & 0 deletions .github/workflows/sqflint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: SQF linting (LordGolias/sqf)

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install sqflint
run: |
python -m pip install --upgrade pip
python -m pip install https://github.com/gruppe-adler/sqf/archive/0f6edf0d7b928afc8783ccad3c3c7cb7120feb1a.tar.gz
- name: Lint with
run: |
sqflint -d . -e e
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.pbo
releases/*
*.biprivatekey
keys/*
.hemtt/local

3 changes: 0 additions & 3 deletions .npmignore

This file was deleted.

Loading

0 comments on commit ea44983

Please sign in to comment.