Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Superjo149/auryo
Browse files Browse the repository at this point in the history
  • Loading branch information
sneljo1 committed Aug 26, 2018
2 parents 914c5bc + e0d85cf commit fdb365d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
25 changes: 20 additions & 5 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,31 @@ The only tests which are being run are e2e tests. I never imaged Auryo getting t
### End-2-End testing
For local end-2-end testing, you will need to have a valid SoundCloud login in your env vars. End-2-end testing is done using [Spectron](https://github.com/electron/spectron). Since Spectron's latest npm release is a bit outdated and doesn't support Electron v2, we're using the spectron directly from github.

**Note: if you changed anything, before testing, always build first**

```sh
yarn run build
yarn run test-e2e
```

## Packaging
Packaging and distribution is done via CI, which sends the packaged builds to github released if the commit is tagged. If you would like to
## Building and Packaging
Packaging and distribution is done via CI, which sends the packaged builds to github released if the commit is tagged. If you would like, you can also do this locally.

### End-2-End testing
For local end-2-end testing, you will need to have a valid SoundCloud login in your env vars. End-2-end testing is done using [Spectron](https://github.com/electron/spectron). Since Spectron's latest npm release is a bit outdated and doesn't support Electron v2, we're using the spectron directly from github.
### Building and testing production version locally
Building will create the necessary compiled files in the `dist/` folder. You can then use this to run the app.

```sh
yarn run test-e2e
yarn run build
yarn start
```

### Packaging locally
Depending on your os, you can run the package command. For building all platforms, please read following documentation [multi-platform build guide](https://www.electron.build/multi-platform-build). Once the command is run, a packaged app is located in the `release`folder.

```sh
yarn run build
yarn run package:win // choose one
yarn run package:linux // choose one
yarn run package:mac // choose one
yarn run package:all // choose one
```
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Auryo
|MacOS/Linux|Windows|
|-----------|-------|
|[![Build Status](https://travis-ci.org/Superjo149/auryo.svg?branch=master)](https://travis-ci.org/Superjo149/auryo)|[![Build status](https://ci.appveyor.com/api/projects/status/qrnwwqa9yvb26daa/branch/master?svg=true)](https://ci.appveyor.com/project/Superjo149/auryo/branch/master)|
|MacOS/Linux|Windows|Snap|
|-----------|-------|----|
|[![Build Status](https://travis-ci.org/Superjo149/auryo.svg?branch=master)](https://travis-ci.org/Superjo149/auryo)|[![Build status](https://ci.appveyor.com/api/projects/status/qrnwwqa9yvb26daa/branch/master?svg=true)](https://ci.appveyor.com/project/Superjo149/auryo/branch/master)|[![Snap Status](https://build.snapcraft.io/badge/auryo/auryo-snap.svg)](https://build.snapcraft.io/user/auryo/auryo-snap)|

A beautiful SoundCloud app for your desktop. Using the power of [electron](electronjs.org) we are able to integrate this webapp with native features like touchbar and media key support.

Expand Down

0 comments on commit fdb365d

Please sign in to comment.