Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add message.reporting=pretty to project.xml default #46

Merged
merged 2 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 16 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,32 @@ jobs:
build:
strategy:
matrix:
haxe-version: ["4.0.5", stable, nightly]
haxe-version: ["4.2.5", "4.3.3", latest]
target: [html5, hl, neko, flash]
exclude:
- {haxe-version: nightly, target: html5}
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: lix-pm/setup-lix@master
- uses: actions/checkout@v2
- run: haxelib dev flixel-templates .
- uses: HaxeFlixel/setup-flixel@master
- run: sudo apt-get update
- uses: actions/checkout@v3

- uses: krdlab/setup-haxe@v1
with:
haxe-version: ${{matrix.haxe-version}}

- name: "Configure Haxelib"
run: |
haxelib setup /home/runner/haxe/haxelib/
haxelib install haxelib 4.0.3
haxelib dev flixel-templates .

- uses: HaxeFlixel/setup-flixel@v1
with:
haxe-version: current
flixel-versions: dev
target: ${{matrix.target}}

- run: |
cd ${{env.HAXELIB_REPO}}/flixel-tools/git
npm install
Expand Down
6 changes: 5 additions & 1 deletion default/Project.xml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<window width="${WIDTH}" height="${HEIGHT}" fps="60" background="#000000" hardware="true" vsync="false" />

<!--HTML5-specific-->
<window if="html5" resizable="false" />
<window if="html5" resizable="true" />

<!--Desktop-specific-->
<window if="desktop" orientation="landscape" fullscreen="false" resizable="true" />
Expand Down Expand Up @@ -78,6 +78,10 @@
<!--Enable this for Nape release builds for a serious peformance improvement-->
<haxedef name="NAPE_RELEASE_BUILD" unless="debug" />

<!-- Haxe 4.3.0+: Enable pretty syntax errors and stuff. -->
<!-- pretty (haxeflixel default), indent, classic (haxe compiler default) -->
<haxedef name="message.reporting" value="pretty" />

<!-- _________________________________ Custom _______________________________ -->

<!--Place custom nodes like icons here-->
Expand Down
Loading