Skip to content

Commit

Permalink
* Updated dependencies
Browse files Browse the repository at this point in the history
* Updated API generation (this mostly resulted in cleaned up type handling)
* Updated build config to retrieve git hash

Signed-off-by: ONXMaintainer <onx@Nxs.Systems>
  • Loading branch information
ONXMaintainer committed Oct 1, 2024
1 parent 3adbf83 commit 5e0f240
Show file tree
Hide file tree
Showing 517 changed files with 34,031 additions and 15,296 deletions.
2 changes: 1 addition & 1 deletion .config/apigen.neon.src
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ parameters:
themeDir: null

# string, --title in CLI
title: '@@prj.name@@ (@@prj.ver@@+@@svnParentDir@@) Class Reference'
title: '@@prj.name@@ (@@git.branch@@) Class Reference'

# string, --base-url in CLI
baseUrl: ''
Expand Down
2 changes: 1 addition & 1 deletion .config/codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ coverage:
enabled: true
include:
- ../src/*
- ../src-gen/*
exclude:
- ../src-gen/*
- ../vendor/*

settings:
Expand Down
11 changes: 11 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,19 @@
<tstamp>
<format property="YEAR" pattern="yyyy"/>
</tstamp>
<!-- Get current commit hash -->
<exec executable="git" outputProperty="git.hash">
<arg line="rev-parse --short HEAD"/>
</exec>
<!-- Get current branch name -->
<exec executable="git" outputProperty="git.branch">
<arg line="rev-parse --abbrev-ref HEAD"/>
</exec>
<!-- Get current tag name (if any) -->
<exec executable="git" outputProperty="git.tag">
<arg line="describe --tags --exact-match"/>
</exec>


<!-- ============================================ -->
<!-- Target: Generate Skel Flesh -->
Expand Down Expand Up @@ -202,6 +212,7 @@
<replacetokens begintoken="@@" endtoken="@@">
<token key="dir.buildArtifacts" value="${dir.buildArtifacts}" />
<token key="dir.buildConfs" value="${dir.buildConfs}" />
<token key="git.hash" value="${git.hash}" />

<token key="dir.src" value="${dir.src}" />
<token key="dir.etc" value="${dir.etc}" />
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@
"psr/http-message": "^1.0",
"psr/http-client-implementation": "*",
"php-http/httplug": "^2.3",
"php-http/message-factory": "^1.0",
"php-http/discovery": "^1.14",
"jane-php/open-api-runtime": "^7.4",
"nyholm/psr7": "^1.5"
"nyholm/psr7": "^1.7"
},
"require-dev": {
"symfony/http-client": "^6.2",
Expand Down
Loading

0 comments on commit 5e0f240

Please sign in to comment.