-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f87eca
commit 970e2b4
Showing
3 changed files
with
77 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "== Starting Linting ==" | ||
|
||
echo "" | ||
echo "== Linting Rubocop ==" | ||
yarn lint:ruby | ||
|
||
echo "" | ||
echo "== Linting ERB ==" | ||
yarn lint:erb | ||
|
||
echo "" | ||
echo "== Linting Markdown ==" | ||
yarn lint:markdown | ||
|
||
echo "" | ||
echo "== Linting Javascript ==" | ||
yarn lint:javascript | ||
|
||
echo "" | ||
echo "== Formatting with Prettier ==" | ||
if ! yarn format; then | ||
echo "" | ||
echo "== Files found needing formatting ==" | ||
echo "== Initialting Fixes ==" | ||
yarn format:fix | ||
fi | ||
|
||
echo "" | ||
echo "== Linting Complete for Simplecov Tailwind ==" | ||
|
||
echo "" | ||
echo "== Starting Lint for Documentation ==" | ||
|
||
echo "" | ||
cd documentation | ||
yarn lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,24 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
IFS=$'\n\t' | ||
set -vx | ||
|
||
command -v ruby >/dev/null 2>&1 || { echo >&2 "ruby is not installed. Aborting."; exit 1; } | ||
command -v node >/dev/null 2>&1 || { echo >&2 "node is not installed. Aborting."; exit 1; } | ||
command -v yarn >/dev/null 2>&1 || { echo >&2 "yarn is not installed. Aborting."; exit 1; } | ||
|
||
echo "== Getting Setup ==" | ||
|
||
echo "" | ||
echo "== Running Yarn Install ==" | ||
yarn install | ||
|
||
echo "" | ||
echo "== Running Bundle Install ==" | ||
bundle install | ||
|
||
echo "" | ||
echo "== Running Documentation Install ==" | ||
cd documentation | ||
yarn install | ||
|
||
echo "" | ||
echo "== Setup Finished ==" | ||
echo "Enjoy Coding and thank you for your contribution!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "== Upgrade Starting ==" | ||
|
||
echo "" | ||
echo "== Running Yarn Upgrade ==" | ||
yarn upgrade --latest | ||
|
||
echo "" | ||
echo "== Running Bundle Upgrade ==" | ||
bundle update | ||
|
||
echo "" | ||
echo "== Running Documentation Upgrade ==" | ||
cd docs | ||
yarn upgrade --latest | ||
|
||
echo "" | ||
echo "== Upgrade Finished ==" |