Giter Club home page Giter Club logo

ticket_printer's Introduction

Download Coverage Status Build Status

Back-end library to handle printing tickets to a physical printer

Deployment

Deployment is handled via gradle and travis if you follow the correct git conventions.

If you are creating a new minor or major release then you would do the following.

  • Create a new release branch, based upon the major and min
git checkout -b release/0.1
  • Update the changelog with the correct version number (in this case 0.1.0)
git commit -m "Release 0.1.0"
git tag 0.1.0
git push origin master --tags

A point release would simply be a tag on this branch and you would follow the previous procedure.

Project Builds and Structure

  • Gradle is the build tool of choice and all things related are contained within the project.

Some example build tasks include

./gradlew build
./gradlew test
./gradlew versionInfo
  • Project is maven compatible however we only publish to Bintray so you will need to manually configure the repository, full instructions can be found at the following site https://bintray.com/sealink/maven/printing
  • TravisCI is used to test / build and publish new versions.
  • JUnit is used for integration and unit level testing.

Development

If you want to use this library directly in an Android Studio project, you can make the following changes to the gradle build

Edit settings.gradle and create a new project dependency.

include ':Dependency'
project(':Dependency').projectDir = new File('~user/src/ticket_printer/')

Edit app/build.gradle Replace the original dependency, i.e.

implementation 'au.com.sealink:printing:x.x.x'

with

 compile project(':Dependency')

Resync the gradle process.

The ticket_printer project should now be a direct dependency and any changes made should be immediately effective, if not you may be required to restart Android Studio.

ticket_printer's People

Contributors

jmortlock avatar adz avatar msmirnoff avatar dependabot-preview[bot] avatar alvinypyim 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.