diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-06-06 23:17:12 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2016-06-06 23:17:12 +0300 |
commit | f17c4dbc97815e4827b07dd22fc942730dbf7df3 (patch) | |
tree | 7826e9217e1630be5131934448173b4a4772ba88 /README.md | |
parent | 110331882df89684836f2b1f39f6b258565c3b2e (diff) |
small cleanups
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 35 |
1 files changed, 0 insertions, 35 deletions
@@ -11,41 +11,6 @@ Works with [OTP Authenticator](https://github.com/0xbb/otp-authenticator) which ![](https://cloud.githubusercontent.com/assets/1374172/15801139/05c75af8-2a8c-11e6-9adf-7820bece4965.png) ![](https://cloud.githubusercontent.com/assets/1374172/15801140/05c8c21c-2a8c-11e6-80de-c85faa851826.png) - - -## Building the app - -The app can be built by using the provided Makefile by running: - - make - -This requires the following things to be present: -* make -* which -* tar: for building the archive -* curl: used if phpunit and composer are not installed to fetch them from the web -* npm: for building and testing everything JS, only required if a package.json is placed inside the **js/** folder - -The make command will install or update Composer dependencies if a composer.json is present and also **npm run build** if a package.json is present in the **js/** folder. The npm **build** script should use local paths for build systems and package managers, so people that simply want to build the app won't need to install npm libraries globally, e.g.: - -**package.json**: -```json -"scripts": { - "test": "node node_modules/gulp-cli/bin/gulp.js karma", - "prebuild": "npm install && node_modules/bower/bin/bower install && node_modules/bower/bin/bower update", - "build": "node node_modules/gulp-cli/bin/gulp.js" -} -``` - - -## Publish to App Store - -First get an account for the [App Store](http://apps.owncloud.com/) then run: - - make appstore - -The archive is located in build/artifacts/appstore and can then be uploaded to the App Store. - ## Running tests You can use the provided Makefile to run all tests by using: |