Skip to content
tamirohPublic

About

A GNU Make-compatible make implementation with built-in linting and formatting.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

phmake

Re-implementation of GNU Make written in PHP.

Install

Homebrew

brew install tamiroh/tap/phmake

Manual

Requires PHP 8.5 or later.

curl -fL https://github.com/tamiroh/phmake/releases/latest/download/phmake.phar -o phmake
chmod +x phmake
sudo mv phmake /usr/local/bin/phmake

Usage

phmake [target]

GitHub Actions

To check your Makefile on pushes and pull requests, add this workflow to .github/workflows/makefile.yml:

name: Check Makefile
on: [push, pull_request]
permissions:
  contents: read

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v7.0.1
      - uses: tamiroh/phmake@main

The action checks Makefile without modifying it and fails if lint reports a problem or formatting differs. To check another file, set with.file to its path relative to the repository root.

About

A GNU Make-compatible make implementation with built-in linting and formatting.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages