Skip to content

Commit

Permalink
Merge pull request #29 from SamRond/develop
Browse files Browse the repository at this point in the history
Release 0.5.0
  • Loading branch information
SamRond committed Dec 8, 2018
2 parents fcc4088 + ac317b5 commit a4e2efc
Show file tree
Hide file tree
Showing 220 changed files with 10,662 additions and 18,516 deletions.
4 changes: 0 additions & 4 deletions .babelrc

This file was deleted.

6 changes: 0 additions & 6 deletions .buckconfig

This file was deleted.

36 changes: 29 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,30 @@
{
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
]
}
"parser": "babel-eslint",
"plugins": [
"react",
"react-native"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"extends" : [
"eslint:recommended",
"plugin:react/recommended",
"airbnb-base"
],
"rules" : {
"arrow-body-style" : "warn",
"no-lonely-if": "warn",
"no-plusplus" : "off",
"no-case-declarations" : "off",
"no-underscore-dangle" : "off",
"react/prop-types" : "off",
"spaced-comment" : "warn",
"prefer-destructuring": "warn",
"no-empty" : "warn",
"prefer-const" : "warn"
}
}
48 changes: 0 additions & 48 deletions .flowconfig

This file was deleted.

10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ local.properties

# node.js
#
*.log
.nvm
/bots/node_modules/
package-lock.json
node_modules/
npm-debug.log
yarn-error.log
Expand All @@ -51,3 +55,9 @@ buck-out/
*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots

# Bundle artifact
*.jsbundle

# OS X
.DS_Store
1 change: 0 additions & 1 deletion .watchmanconfig

This file was deleted.

3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source "https://rubygems.org"

gem "fastlane"
148 changes: 148 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (3.0.0)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
atomos (0.1.3)
babosa (1.0.2)
claide (1.0.2)
colored (1.2)
colored2 (3.1.2)
commander-fastlane (4.4.6)
highline (~> 1.7.2)
declarative (0.0.10)
declarative-option (0.1.0)
domain_name (0.5.20180417)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.5.0)
emoji_regex (0.1.1)
excon (0.62.0)
faraday (0.15.3)
multipart-post (>= 1.2, < 3)
faraday-cookie_jar (0.0.6)
faraday (>= 0.7.4)
http-cookie (~> 1.0.0)
faraday_middleware (0.12.2)
faraday (>= 0.7.4, < 1.0)
fastimage (2.1.4)
fastlane (2.105.2)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.3, < 3.0.0)
babosa (>= 1.0.2, < 2.0.0)
bundler (>= 1.12.0, < 2.0.0)
colored
commander-fastlane (>= 4.4.6, < 5.0.0)
dotenv (>= 2.1.1, < 3.0.0)
emoji_regex (~> 0.1)
excon (>= 0.45.0, < 1.0.0)
faraday (~> 0.9)
faraday-cookie_jar (~> 0.0.6)
faraday_middleware (~> 0.9)
fastimage (>= 2.1.0, < 3.0.0)
gh_inspector (>= 1.1.2, < 2.0.0)
google-api-client (>= 0.21.2, < 0.24.0)
highline (>= 1.7.2, < 2.0.0)
json (< 3.0.0)
mini_magick (~> 4.5.1)
multi_json
multi_xml (~> 0.5)
multipart-post (~> 2.0.0)
plist (>= 3.1.0, < 4.0.0)
public_suffix (~> 2.0.0)
rubyzip (>= 1.2.2, < 2.0.0)
security (= 0.1.3)
simctl (~> 1.6.3)
slack-notifier (>= 2.0.0, < 3.0.0)
terminal-notifier (>= 1.6.2, < 2.0.0)
terminal-table (>= 1.4.5, < 2.0.0)
tty-screen (>= 0.6.3, < 1.0.0)
tty-spinner (>= 0.8.0, < 1.0.0)
word_wrap (~> 1.0.0)
xcodeproj (>= 1.6.0, < 2.0.0)
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
gh_inspector (1.1.3)
google-api-client (0.23.9)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.5, < 0.7.0)
httpclient (>= 2.8.1, < 3.0)
mime-types (~> 3.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
signet (~> 0.9)
googleauth (0.6.6)
faraday (~> 0.12)
jwt (>= 1.4, < 3.0)
memoist (~> 0.12)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (~> 0.7)
highline (1.7.10)
http-cookie (1.0.3)
domain_name (~> 0.5)
httpclient (2.8.3)
json (2.1.0)
jwt (2.1.0)
memoist (0.16.0)
mime-types (3.2.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2018.0812)
mini_magick (4.5.1)
multi_json (1.13.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
nanaimo (0.2.6)
naturally (2.2.0)
os (1.0.0)
plist (3.4.0)
public_suffix (2.0.5)
representable (3.0.4)
declarative (< 0.1.0)
declarative-option (< 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rouge (2.0.7)
rubyzip (1.2.2)
security (0.1.3)
signet (0.10.0)
addressable (~> 2.3)
faraday (~> 0.9)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simctl (1.6.5)
CFPropertyList
naturally
slack-notifier (2.3.2)
terminal-notifier (1.8.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
tty-cursor (0.6.0)
tty-screen (0.6.5)
tty-spinner (0.8.0)
tty-cursor (>= 0.5.0)
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.5)
unicode-display_width (1.4.0)
word_wrap (1.0.0)
xcodeproj (1.6.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.2.6)
xcpretty (0.3.0)
rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.0)
xcpretty (~> 0.2, >= 0.0.7)

PLATFORMS
ruby

DEPENDENCIES
fastlane

BUNDLED WITH
1.16.2
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Mood Mobile
## Running Simulation in IOS
1. Download project from Github
2. Open `mood_mobile/ios/moodmobile.xcodeproj` in Xcode
3. Follow the instructions in https://github.com/SamRond/mood_mobile/issues/14
4. Click the play button in the top left of the screen
1. Clone the project from Github
2. `cd` into the project directory
3. Install yarn and run `yarn` to install dependencies
4. Run `react-native run-ios`

If there are errors, follow the instructions in [here](https://github.com/SamRond/mood_mobile/issues/14). If that doesn't work, ping Sam in Slack.

## Branches
master - This branch will always reflect the code in the most recent iTunes Connect build
Expand All @@ -13,3 +15,16 @@ develop - The develop branch will be the closest release candidate to master
topic branches -
- bug/ branches - these topic branches, based on either develop or master, focus on a bug fix
- feature/ branches - these topic branches will focus on development of a single feature

## Push App Builds w/ Fastlane
If you have never used Fastlane before, install it. Install instructions can be found [here](https://docs.fastlane.tools/getting-started/ios/setup/).

For you to be able to push new builds, you need to install certificates. This is an easy process:
1. Open a terminal & navigate to mood_mobile/fastlane
2. Run the command `fastlane match development --readonly`

For more information, see the [certificates repo](https://github.com/samrond/mood_mobile_certs)

To push a new ios build to testflight you can simply run `fastlane ios beta`.
See the "Fastfile" in the fastlane directory for other tasks you can run.
The command will always follow the syntax `fastlane <platform> <lane>`
12 changes: 0 additions & 12 deletions __tests__/index.android.js

This file was deleted.

12 changes: 0 additions & 12 deletions __tests__/index.ios.js

This file was deleted.

4 changes: 2 additions & 2 deletions android/app/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ android_library(

android_build_config(
name = "build_config",
package = "com.moodmobile",
package = "com.mood_mobile",
)

android_resource(
name = "res",
package = "com.moodmobile",
package = "com.mood_mobile",
res = "src/main/res",
)

Expand Down

0 comments on commit a4e2efc

Please sign in to comment.