Giter Club home page Giter Club logo

midnightsnack's Introduction

Midnight Snack Build Script

What does this do?

This basically automates the process of building Android and its derivatives, as well as uploading the builds to a remote SSH server and sending emails notifying the status of the builds.

  1. Import includes (functions, settings, error descs) and set vars
  2. CheckVariablesExist
  3. LogHeaders
  4. Repo Sync
  5. DeviceLoop
    1. LogHeaders
    2. Lunch
    3. Make
    4. Find and rename zip
    5. MD5sum
    6. Upload zip, then rename
    7. Delete Build zip
  6. TarGZ logs and move to LogFileLoc/archives
  7. Drop email with successes and fails with attached logs (coming in Version 2)

Why do I want this?

Because:

  • You're too lazy to do it manually
  • You're too lazy to set up Jenkins

How do I use it?

  1. git clone [email protected]:harryyoud/midnightsnack
  2. configure settings in settings.sh
  3. ./main.sh
  4. Wait....
  5. Profit (or it failed - check the logs)

Configuration

All configuration happens in the settings.sh file. They variables in there are either self-explanatory or have a comment attached

Errors

Being a long and complicated drawn out process, the script could fail at lots of points. The various errors you might encounter are explained quite well in errors.sh

Improving/Building on top of

I tried to make this as easy as possible to build upon or change, because everybody's needs are different. Hopefully, the only changes you need to make are in main.sh, to add post-/pre-build hooks or change the order of some things

midnightsnack's People

Contributors

harryyoud avatar stricted 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.