Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.
/ Go-Go-Dutch Public archive

A "go dutch" app impelemnted using React Native

Notifications You must be signed in to change notification settings

fcamel/Go-Go-Dutch

Repository files navigation

Go-Go-Dutch

Demo

Example usage of Go-Go-Dutch

Coding Style

Use prettier to indent codes:

$ cat << 'EOF' > .git/hooks/pre-commit
#!/bin/sh
jsfiles=$(git diff --cached --name-only --diff-filter=ACM | grep '\.jsx\?$' | tr '\n' ' ')
[ -z "$jsfiles" ] && exit 0

# Prettify all staged .js files
echo "$jsfiles" | xargs ./node_modules/.bin/prettier --write --single-quote --print-width=100

# Add back the modified/prettified files to staging
echo "$jsfiles" | xargs git add

exit 0
EOF

$ chmod +x .git/hooks/pre-commit

Note

  • Tested on the Android emulator Nexus 5 and the real device LG v20.
  • Roughly tested on the iOS emulator and iPhone 7. You may need to set the Development Team. I use a custom path variable DEVELOPMENT_TEAM as the value. Reference https://stackoverflow.com/a/40424891/278456

Misc Issue

iOS

About

A "go dutch" app impelemnted using React Native

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published