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 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 +}