cesarferreira/drone
关于
🍰 Android 开发者一直缺少的库管理器。
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Drone
The missing library manager for Android Developers
Summary
- :zap: Blazing fast way to add libraries
- :tada: No need to search the web for
thatlibrary - :rocket: Intuitive, easy-to-learn tool
- :gem: Add multiple dependencies with a one liner
- :v: Automated dependency and package management
- :hammer: Automatic import custom urls (e.g. jitpack)
Usage
Simple usage:
drone add
<library><module>
Single library
drone add
picassoapp
Multiple
drone add
picassoretrofitrxjavagsonapp
Usage
$ drone <command> <params>
$ drone install # Downloads the packages
$ drone test <library> # Tests the library by fetching its version
$ drone add <library> <module> # Adds a dependency to a module
$ drone remove <library> <module> # Removes the dependency from a module
$ drone info <library> # Retrieves the info for this package
$ drone update # Get the latest packages
$ drone list # List all of the packages
$ drone stats # Get some stats regarding the hive
$ drone hive # Opens the hive url
$ drone open <library> # Opens the library's homepage
$ drone search <library> # Searches for the 'library' in the hive
Examples
$ drone install # Downloads the packages
$ drone info picasso # Shows the info for picasso
$ drone add retrofit app # Adds retrofit to the 'app' module
$ drone rm retrofit app # removes retrofit from the 'app' module
$ drone open gson # Opens GSONs homepage
$ drone search rxjava # Searches the hive for 'rxjava'
$ drone test picasso # Tests the library by fetching its version
Install
npm install -g drone
What is it?
As an android developer I was jealous of the node.js community for their fast and reliable dependency managers, it's so easy to write yarn add <library> and a library is imported into the project... So I made drone for android!
If you think about it there are like 50 libraries that are used in 95% of the apps (retrofit, rxjava, gson, picasso, roboletric, recyclerview-v7, etc.)
I made this because every time I want to add (lets say) butterknife I need to
- google butterknife
- go to the readme
- find the lines to copy
- notice that butterknife has 2 dependencies
- copy and paste in my gradle file
- OPTIONAL if it was not in jcenter, go to the main build gradle and put the custom URL
OR...
drone add butterknife
and everything will be done for you automatically
Where are the libraries?
Instead of maintaining a server with all the possible libraries I'm going with a brew approach, the community will create a library once and it will be available to everyone else forever in the hive!
Follow the instructions to create the <library>.json file then open the pull request in the hive
Created by
License
MIT © Cesar Ferreira
Logo
by Freepik from www.flaticon.com is licensed by CC 3.0 BY
探索相关项目
加载中…
