/satis-registry

STRG. composer registry

Primary LanguageHTML

pre-commit taskfile

composer.strg.at

Private static composer registry powered by composer/satis.

📑 Table of Contents
  1. Automation
  2. Structure
  3. Requirements
  4. Development

Automation

satis-build

satis-build

  • The build can be triggered manual (click the badge for more).
  • The build runs on monday morning

test

satis-test

  • tests are running each morning (and on pull request)

Structure

└── satis.json                              # satis configuration

Requirements

Development

Configuration

You will need a GITHUB_TOKEN.

You can either input the token interactive when running task satis:build or create a file in .composer/auth.json.

{
  "github-oauth": {
    "github.com": "$GITHUB_TOKENs" // add your token here
  }
}

Getting Started

To build the static assets run:

task satis:build

To start a local server run:

task satis:serve

Pre-commit

To enable pre-commit you can run:

task pre-commit:init

To lint/check all files with pre-commit:

task pre-commit:run