1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Automatically generate .phar when a commit is made

Discussion in 'Development' started by HittmanA, Jan 12, 2017.

  1. HittmanA

    HittmanA Zombie

    Messages:
    207
    GitHub:
    hittmana
    Making a phar to test my plugin every time I make a change is exhausting. Is there a way to automatically generate a pocketmine .phar whenever I commit to a Github repo?
     
  2. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    To make life easier you could use @aliuly's ZIP plugin loader, with that plugin it's as simple as uploading your ZIP file.
     
    applqpak likes this.
  3. HittmanA

    HittmanA Zombie

    Messages:
    207
    GitHub:
    hittmana
    I forgot about that :O
     
    applqpak likes this.
  4. Jack Noordhuis

    Jack Noordhuis Zombie Pigman Poggit Reviewer

    Messages:
    618
    GitHub:
    JackNoordhuis
    Use poggit or setup some other CI. Poggit is built specifically for PocketMine plugins so it's naturally the easiest to setup.
     
    Awzaw, instantlyta, applqpak and 3 others like this.
  5. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    Who have time to set up a CI right? (also Commit only when things are TESTED, not commit to get it TESTED)
    There a dev tool to the rescue!! https://jenkins.pmmp.io/job/PocketMine-MP DevTools/
    There CI like poggit, but if you fancy you could just make a test script over the normal CI
     
    Jack Noordhuis and HittmanA like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.