From f70c1aaee34ade5c36e9684928752cc76d7b1dcc Mon Sep 17 00:00:00 2001 From: MaysWind Date: Thu, 7 Jul 2016 01:00:59 +0800 Subject: [PATCH] support circleci --- README.md | 2 ++ circle.yml | 21 +++++++++++++++++++++ package.json | 4 ++-- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 circle.yml diff --git a/README.md b/README.md index 62d370d..1fb78ce 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # AriaNg +[![Lastest Build](https://circleci.com/gh/mayswind/AriaNg.png "Lastest Build")](https://circleci.com/gh/mayswind/AriaNg/tree/master) + ## Introduction A Better Frontend for [aria2](https://github.com/aria2/aria2) (a cross-platform download utility). AriaNg is written in pure html & javascript, so it does not need to be compiled and not need any runtime environment, and you can open it in your browser. By using responsive layout, you can open it on any desktop or mobile devices. diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..bbb2af6 --- /dev/null +++ b/circle.yml @@ -0,0 +1,21 @@ +machine: + node: + version: 4 + +dependencies: + override: + - npm install + - npm install -g bower + - npm install -g gulp + - bower install + +deployment: + daily_build: + branch: master + commands: + - gulp clean build + +general: + branches: + ignore: + - gh-pages \ No newline at end of file diff --git a/package.json b/package.json index 822d8d7..20f60ba 100644 --- a/package.json +++ b/package.json @@ -21,11 +21,11 @@ "gulp-useref": "^3.0.0" }, "name": "aria-ng", - "description": "Aria2 Ng Frontend", + "description": "AriaNg, A Better Frontend for aria2", "version": "0.1.0", "main": "index.html", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 0" }, "repository": { "type": "git",