Browse Source

Added uninstall.sh and further documentation on build.xml

Fixing-travis-yml
BinHong Lee 7 years ago
parent
commit
17bec6e427
5 changed files with 37 additions and 2 deletions
  1. +1
    -0
      .travis.yml
  2. +21
    -2
      README.md
  3. +2
    -0
      circle.yml
  4. +7
    -0
      docs/index.md
  5. +6
    -0
      uninstall.sh

+ 1
- 0
.travis.yml View File

@@ -3,3 +3,4 @@ language: cpp
before_install: sudo apt-get update before_install: sudo apt-get update
install: ./install.sh install: ./install.sh
script: ant test script: ant test
after_script: ./uninstall.sh

+ 21
- 2
README.md View File

@@ -1,5 +1,12 @@
# Ticketing System # Ticketing System
[![Build Status](https://travis-ci.org/binhonglee/TicketingSystem.svg?branch=master)](https://travis-ci.org/binhonglee/TicketingSystem) [![CircleCI](https://circleci.com/gh/binhonglee/TicketingSystem.svg?style=svg)](https://circleci.com/gh/binhonglee/TicketingSystem) [![Issue Count](https://codeclimate.com/github/binhonglee/TicketingSystem/badges/issue_count.svg)](https://codeclimate.com/github/binhonglee/TicketingSystem)
[![Build Status](https://travis-ci.org/binhonglee/TicketingSystem.svg?branch=master)](https://travis-ci.org/binhonglee/TicketingSystem)
[![CircleCI](https://circleci.com/gh/binhonglee/TicketingSystem.svg?style=shield)](https://circleci.com/gh/binhonglee/TicketingSystem)
[![codecov](https://codecov.io/gh/binhonglee/TicketingSystem/branch/master/graph/badge.svg)](https://codecov.io/gh/binhonglee/TicketingSystem)

[![Issue Count](https://codeclimate.com/github/binhonglee/TicketingSystem/badges/issue_count.svg)](https://codeclimate.com/github/binhonglee/TicketingSystem)
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/binhonglee/TicketingSystem/blob/master/LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)



An overall system that records information about each vehicles and users. An overall system that records information about each vehicles and users.
@@ -9,11 +16,23 @@ For detailed code documentations, please visit [https://binhonglee.github.io/Tic


This program is still in progress and is currently in a **NOT WORKING** condition. This program is still in progress and is currently in a **NOT WORKING** condition.


## Setting up and running it
## Installation


```sh ```sh
$ git clone https://github.com/binhonglee/TicketingSystem.git $ git clone https://github.com/binhonglee/TicketingSystem.git
$ cd TicketingSystem $ cd TicketingSystem
$ ./install.sh
```

## Building and running it

```sh
$ ant build $ ant build
$ ./bin/main $ ./bin/main
``` ```

## Uninstallation

```sh
$ ./uninstall.sh
```

+ 2
- 0
circle.yml View File

@@ -1,6 +1,8 @@
dependencies: dependencies:
pre: pre:
- ./install.sh - ./install.sh
post:
- ./uninstall.sh
test: test:
override: override:
- ant test - ant test

+ 7
- 0
docs/index.md View File

@@ -1,5 +1,12 @@
# Ticketing System # Ticketing System


## build.xml

| Command | Action |
|:-------------|:---------------------------|
| `ant build` | Build the project. |
| `ant test` | Run test (Currently only build and clean the project) |

## Person.hpp / Person.cpp ## Person.hpp / Person.cpp


#### Constructors #### Constructors


+ 6
- 0
uninstall.sh View File

@@ -0,0 +1,6 @@
cd ../
echo "Deleting project files"
rm -rf TicketingSystem
echo "Removing additional installed library"
rm -rf ~/anttasks.jar
read -n1 -r -p "Press any key to continue..." key

Loading…
Cancel
Save