Git Product home page Git Product logo

build-tool-detector's Introduction

Build Tool Detector

Build

Pre-requisites

$ git clone https://github.com/fabric8-services/build-tool-detector $GOPATH/src/github.com/fabric8-services/build-tool-detector

Build

$ make build

This will perform following actions: fetch dependencies, generate Goa files from design folder, compile. When in doubt just make help.

Usage

$ export TOKEN=XXXX
$ curl -X GET "http://localhost:8099/api/detect/build/https%3A%2F%2Fgithub.com%2Ffabric8-launcher%2Flauncher-backend" -H "accept: application/vnd.goa.build.tool.detector+json" -H "Authorization: Bearer $TOKEN"
{"build-tool-type":"maven"}

where:

Test

In order to continuously run the tests whenever code change occur execute following command from the root directory of the project:

$ make test

and keep it running in the terminal.

Run

Run the server:

$ make run
Note
Our service’s configuration uses viper. To setup dependent service like fabric8-auth prod or prod-preview, please check configuration file or set env variable like BUILD_TOOL_DETECTOR_AUTH_URI

build-tool-detector's People

Contributors

bartoszmajsak avatar corinnekrych avatar jarifibrahim avatar sbose78 avatar tinakurian avatar

Watchers

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