Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/cleanup #27

Merged
merged 5 commits into from Oct 19, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 1 addition & 5 deletions README.md
Expand Up @@ -3,8 +3,4 @@ All Scripts support autoupdating using the -u flag.

# General

- Bootstrap.sh - Install rbenv, gems, pods etc.

# iOS

- Misspell.sh - Build Phase, that runs the Misspell Spell Checker (https://github.com/client9/misspell) on the folders given as arguments
- Bootstrap.sh - Install brew dependencies, gems, node version, node modules etc.
8 changes: 4 additions & 4 deletions bootstrap.sh
Expand Up @@ -11,7 +11,7 @@ NOCOLOR=`tput sgr0`
SCRIPT_FILE="bootstrap.sh"
SCRIPT_SOURCE="https://raw.githubusercontent.com/num42/n42-buildscripts/master/${SCRIPT_FILE}"

echo "${GREEN}Running N42 Bootstrap v1.40 (2018-03-26)${NOCOLOR}"
echo "${GREEN}Running N42 Bootstrap v2.0 (8th of October 2020)${NOCOLOR}"
echo "${GREEN}If the script fails, there might be a newer Version on $SCRIPT_SOURCE ${NOCOLOR}"
echo "${GREEN}You can directly download it with 'curl -L $SCRIPT_SOURCE -o ${SCRIPT_FILE}' ${NOCOLOR}"
echo "${GREEN}You can update the script by running "sh ${SCRIPT_FILE} -u"' ${NOCOLOR}"
Expand All @@ -35,7 +35,7 @@ installYarn(){

if [ \( -e ".env-sample" \) -a \( ! -e ".env" \) ]; then
echo ""
echo "${GREEN} Copying .env-sample to .env ${NOCOLOR}";
echo "${GREEN} COPYING .env-sample TO .env ${NOCOLOR}";
cp .env-sample .env
fi

Expand Down Expand Up @@ -77,15 +77,15 @@ fi

if [ -e "package.json" ]; then
echo ""
echo "${GREEN} INSTALLING node-modules ${NOCOLOR}";
echo "${GREEN} INSTALLING NODE-MODULES ${NOCOLOR}";

which yarn || installYarn
yarn install || echo "${RED} FAILED TO INSTALL NODE-MODULES ${NOCOLOR}";
fi

if [ -e "mix.exs" ]; then
echo ""
echo "${GREEN} INSTALLING elixir(MIX) dependencies ${NOCOLOR}";
echo "${GREEN} INSTALLING elixir(MIX) DEPENDENCIES ${NOCOLOR}";

mix deps.get || echo "${RED} FAILED TO INSTALL ELIXIR(MIX) DEPENDENCIES ${NOCOLOR}";
fi
Expand Down
82 changes: 0 additions & 82 deletions iOS/AutocorrectAndFormat.rb

This file was deleted.

106 changes: 0 additions & 106 deletions iOS/CreateAppicons.sh

This file was deleted.

60 changes: 0 additions & 60 deletions iOS/EmbedCarthageFrameworks.rb

This file was deleted.

17 changes: 0 additions & 17 deletions iOS/GenerateLicenseFile.sh

This file was deleted.

62 changes: 0 additions & 62 deletions iOS/LintStringsFiles.rb

This file was deleted.

19 changes: 0 additions & 19 deletions iOS/Misspell.sh

This file was deleted.