Refactored code to comply with Google Style Guides
This commit refactors JS, MD and Bash files in order to comply with the
Google style guides.
Change-Id: I5bc9a175d2400fa1095ba9eb1c8cff3ebfef4b8f
diff --git a/generateManifest.bash b/generateManifest.bash
index dd7df4e..29839c0 100644
--- a/generateManifest.bash
+++ b/generateManifest.bash
@@ -1,15 +1,17 @@
#!/bin/bash
-
+#
# Generates the manifest.json file according to the dependencies passed
# via CLI arguments
-dependencies=( "$@" )
+dependencies=("$@")
rm -f src/manifest.json
cp templates/manifest.gjson src/manifest.json
for dep in "${dependencies[@]}"; do
- perl -0777 -pi -e "s/^#if defined\($dep\)\n([^#]*)#endif\n/\$1/gms" src/manifest.json
+ perl -0777 -pi -e "s/^#if defined\($dep\)\n([^#]*)#endif\n/\$1/gms" \
+ src/manifest.json
done
-perl -0777 -pi -e "s/^#if defined\([^\n#]+\)\n[^#]*#endif\n//gms" src/manifest.json
+perl -0777 -pi -e "s/^#if defined\([^\n#]+\)\n[^#]*#endif\n//gms" \
+ src/manifest.json