Giter Club home page Giter Club logo

devtool's Introduction

Devtool

This is the devtool project.

Devtool is a simple commandline tool to help install tools for primarily developers. Eg maven, git, different jdk's etc.

After installation run devtool to see usage:

devtool

How to build and run locally

Devtool is written in groovy and gradle is used for building. Run this for building and running tests

gradlew test

CI builds can be found here

https://travis-ci.org/NordeaOSS/devtool

About the code

Curently all the code is actually only in two files. Yeah we know - not very structured and OO'ish And cleanup could definitely be done. But it works and there is not a lot of code. If much is going to be added some refactoring is needed. All the magic happens in:

Devtool.groovy

It uses the groovy CliBuilder to parse the params from the command line and to do formatting etc

Devtool fetches all the tools from a "file repository". Currently there is only one file provider, implemented which is a nexus server (maven repository).

The local part is setup and handled using the windows command setx that enables the updating of the users local path. That is how devtool can add stuff to the local user path. It is individual for each tool whether anything is added to the user path. This is handled via xml files for each individual tool that are also placed in the file repository.

Updating and changing of settings for the tools is currently a manual process as not many tools require this.

Devtool has a build in update notifier when a new version is available. It simply checks for a new version with every run of devtool. And offcourse devtool is using itself to both install and update devtool.

devtool's People

Contributors

holmbech avatar rocketrunner avatar m1kah avatar nielsbo avatar

Watchers

James Cloos 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.