-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from jonpas/hemtt-ci-and-cleanup
Adapt to HEMTT v1, Rework CI and cleanup
- Loading branch information
Showing
94 changed files
with
368 additions
and
3,764 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
root = true | ||
|
||
[*] | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* text=auto | ||
*.png binary | ||
*.jpg binary | ||
*.paa binary |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' | ||
|
||
jobs: | ||
build_addon: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the source code | ||
uses: actions/checkout@v3 | ||
- name: Setup HEMTT | ||
uses: arma-actions/hemtt@v1 | ||
- name: Run HEMTT release | ||
run: hemtt release | ||
- name: Rename release folder | ||
run: mv .hemttout/release .hemttout/@hatchet_framework | ||
- name: Upload to GitHub | ||
uses: actions/action-gh-release@v1 | ||
with: | ||
draft: true | ||
files: releases/hatchet_framework_*.zip | ||
name: 'Hatchet Framework ${{ github.ref_name }}' | ||
tag_name: ${{ github.ref_name }} | ||
target_commitish: ${{ github.sha }} | ||
#- uses: arma-actions/workshop-upload@v1 | ||
# with: | ||
# appId: '107410' | ||
# itemId: '' # Hatchet Framework - Stable Version | ||
# contentPath: '.hemttout/@*' | ||
# changelog: 'See changelog on GitHub: https://github.com/Project-Hatchet/Interaction-Framework/releases' | ||
# env: | ||
# STEAM_USERNAME: ${{ secrets.STEAM_USERNAME }} | ||
# STEAM_PASSWORD: ${{ secrets.STEAM_PASSWORD }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
*.zip | ||
*.bak | ||
*.cache | ||
keys/* | ||
*.pbo | ||
texHeaders.bin | ||
*.swp | ||
*.swo | ||
*.biprivatekey | ||
Thumbs.db | ||
|
||
## Added by HEMTT | ||
## HEMTT | ||
releases/* | ||
*.biprivatekey | ||
keys/* | ||
.hemtt/local.toml | ||
addons/*.pbo | ||
hemtt | ||
hemtt.exe | ||
.hemttout | ||
#### | ||
|
||
## SCONS | ||
release | ||
.sconsign.dblite | ||
#### |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
let releases = HEMTT_RFS.join("releases"); | ||
let name_nospaces = HEMTT.project().name(); | ||
name_nospaces.replace(" ", "_"); | ||
|
||
let src = releases.join(HEMTT.project().prefix() + "-" + HEMTT.project().version().to_string() + ".zip"); | ||
let dst = releases.join(name_nospaces.to_lower() + "_" + HEMTT.project().version().to_string_short() + ".zip"); | ||
|
||
print("Moving zip to " + dst); | ||
if !src.move(dst) { | ||
warn("Failed to move " + src + " to " + dst + " (maybe --no-archive?)"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name = "Hatchet Framework" | ||
prefix = "hatchet_vxf" | ||
author = "Project Hatchet" | ||
mainprefix = "z" | ||
|
||
[files] | ||
include = [ | ||
"mod.cpp", | ||
"README.md", | ||
"LICENSE", | ||
"logo_vxf_ca.paa", | ||
"meta.cpp", | ||
] | ||
|
||
[version] | ||
git_hash = 0 | ||
|
||
[asc] | ||
enabled = true | ||
exclude = [ | ||
"/initsettings.sqf", | ||
"/initkeybinds.sqf", | ||
"/xeh_prep.sqf", | ||
] | ||
|
||
[hemtt.config] | ||
preset = "Hemtt" | ||
|
||
[hemtt.release] | ||
folder = "vxf_framework" | ||
|
||
[hemtt.launch] | ||
workshop = [ | ||
"450814997", # CBA_A3's Workshop ID | ||
] |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.