GithubHelp home page GithubHelp logo

global-localhost / buildtools-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simplemachines/buildtools

0.0 0.0 0.0 98 KB

Build Tools for SMF

License: BSD 3-Clause "New" or "Revised" License

PHP 98.24% Shell 1.76%

buildtools-1's Introduction

SMF Build Tools repository

This repository contains continuous integration scripts for SMF.

All scripts in this repository are under BSD 3-clause license, unless specified otherwise.

Installation

Requires PHP 7.1+, git, and composer.

Typical Installation (via Git)

Clone the project into the BuildTools/ directory inside your document root and install its dependencies:

cd /path/to/dir
git clone https://github.com/SimpleMachines/BuildTools.git BuildTools
cd BuildTools
composer install

Installing as a composer dependency

Add the following to composer.json:

{
  "repositories": [
    {
      "url": "https://github.com/SimpleMachines/BuildTools.git",
      "type": "vcs"
    }
  ],
  "minimum-stability": "dev",
  "require-dev": {
    "simplemachines/build-tools": "dev-master"
  }
}

Now you can install it:

composer install

CI

Travis CI

  script:
   - php check-signed-off.php
   - php check-version.php
   - php check-smf-langauges.php
   - php check-eof.php
   - php check-smf-license.php

GitHub Action

    - name: Checking for sign off (GPG also accepted)
      run: php ./other/check-signed-off.php

    - name: Checking file integrity
      run: |
        php check-eof.php
        php check-smf-license.php
        php check-smf-languages.php
        php check-version.php

Lint PHP files

Travis CI

  script:
   - vendor/bin/phplint . --exclude=vendor -w

GitHub Action

    - name: Lint PHP files
      run: vendor/bin/phplint . --exclude=vendor -w

How to contribute:

  • fork the repository. If you are not used to Github, please check out fork a repository.
  • branch your repository, to commit the desired changes.
  • sign-off your commits, to acknowledge your submission under the license of the project.
    • Please see the Developer's Certificate of Origin in the repository: by signing off your contributions, you acknowledge that you can and do license your submissions under the license of the project.
    • It is enough to include in your commit comment "Signed-off by: " followed by your name and email address (for example: Signed-off-by: Angelina Belle <[email protected]>)
    • an easy way to do so, is to define an alias for the git commit command, which includes -s switch (reference: How to create Git aliases)
  • send a pull request to us.

buildtools-1's People

Contributors

sesquipedalian avatar jdarwood007 avatar live627 avatar colinschoen avatar missallsunday avatar dragomano avatar kant avatar liroyvh avatar sga-oscar-rydhe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.