Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

WIP: Clean bash scripts #5

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

WIP: Clean bash scripts #5

wants to merge 10 commits into from

Conversation

nymous
Copy link
Member

@nymous nymous commented May 9, 2017

No description provided.

nymous added 10 commits May 6, 2017 21:03
Rename file to fix typo
Activate unofficial bash strict mode
Add logging facility
Exit with error if user is not root
Stop upgrading the target machine
Activate unofficial bash strict mode
Add logging facility
Use subshell instead of cd into a folder and go back
Add quotes to avoid array variables being incorrectly expanded on space
Access arrays using values instead of index
Activate unofficial bash strict mode
Add logging facility
Add log messages
Don't fail if node_modules directory already exists
Don't fail if symbolic links exist; warn instead
Use subshell instead of cd into a folder and back
Use basename to get folder name from path instead of relying on another
array
We previously had to maintain two separate arrays, one with path and one
with just the folder name. Both had to have the exact same order.
We now use `basename` in scripts which require it, removing the need of
this 'duplicate' array.
Activate unofficial bash strict mode
Add logging facility
Add log messages
Add counter to know how many projects there are
Use locally installed bower instead of global one, if it is available
Exit if bower isn't found
Use subshells instead of cd into a folder and back
Use values instead of index to access arrays
Activate unofficial bash strict mode
Add logging facility
Add log messages
Use subshells instead of cd into a folder and back
Better check for existence of `compile.sh`
@nymous nymous requested review from Zidmann and tdenof May 9, 2017 19:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant