Skip to content

owncloud/contacts

Repository files navigation

ownCloud Contacts

irc Build Status Quality Gate Status Security Rating Coverage

A contacts app for ownCloud

This is the new contacts app that has replaced the old contacts app, and is only the frontend for the new server-integrated CardDAV-Backend.

Maintainers:

If you’d like to join, just go through the issue list and fix some. :)

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

Publish to App Store

First get an account for the App Store then run:

make && 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:

make test

This will run the PHP unit and integration tests and if a package.json is present in the js/ folder will execute npm run test

Of course you can also install PHPUnit and use the configurations directly:

phpunit -c phpunit.xml

or:

phpunit -c phpunit.integration.xml

for integration tests