From 6bdd95c20b4d9d8081798c40eea327b797d85d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 28 Apr 2022 13:23:46 +0200 Subject: [PATCH 1/2] Enhancement: Validate box.json.dist --- .github/workflows/integrate.yaml | 3 +++ Makefile | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 89c9510..2de0702 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -110,6 +110,9 @@ jobs: - name: "Install dependencies with composer" run: "composer install --ansi --no-progress" + - name: "Validate box.json.dist with humbug/box" + run: ".phive/box validate" + - name: "Compile twigcs.phar with humbug/box" run: ".phive/box compile" diff --git a/Makefile b/Makefile index 2be8bfe..ae8a202 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ help: ## Displays this list of targets with descriptions .PHONY: phar phar: vendor ## Compiles a phar with humbug/box + .phive/box validate .phive/box build php twigcs.phar --version From 0e2d629b617d0f6a205a999f7132f51051b22610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 28 Apr 2022 13:26:19 +0200 Subject: [PATCH 2/2] Fix: Remove settings identical to defaults --- box.json.dist | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/box.json.dist b/box.json.dist index ed7c659..dce7418 100644 --- a/box.json.dist +++ b/box.json.dist @@ -1,8 +1,6 @@ { - "stub": true, - "main": "bin/twigcs", "directories": ["src", "vendor"], "git-version": "__VERSION__", "output": "twigcs.phar", "chmod": "0700" -} \ No newline at end of file +}