-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #577 from DannyBen/add/settings-tweaks
Add support for tweaking production/development output
- Loading branch information
Showing
23 changed files
with
955 additions
and
483 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
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
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
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
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
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
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
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,4 +1,6 @@ | ||
> echo "# this file is located in '{{ "#{Settings.source_dir}/#{filename}" }}'" | ||
> echo "# you can edit it freely and regenerate (it will not be overwritten)" | ||
> inspect_args | ||
if Settings.enabled? :inspect_args | ||
> inspect_args | ||
end | ||
> |
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,5 +1,7 @@ | ||
> echo "# this file is located in '{{ "#{Settings.source_dir}/#{filename}" }}'" | ||
> echo "# code for '{{ full_name }}' goes here" | ||
> echo "# you can edit it freely and regenerate (it will not be overwritten)" | ||
> inspect_args | ||
if Settings.enabled? :inspect_args | ||
> inspect_args | ||
end | ||
> |
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
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
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
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
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
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,14 @@ | ||
= view_marker | ||
|
||
> if ! command -v {{ commands.join(' ') }} >/dev/null 2>&1; then | ||
> printf "{{ strings[:missing_dependency] % { dependency: name } }}\n" >&2 | ||
if help | ||
> printf "%s\n" "{{ help.sanitize_for_print }}" >&2 | ||
end | ||
> exit 1 | ||
if Settings.enabled? :deps_array | ||
> else | ||
> deps['{{ label }}']="$(command -v {{ commands.join(' ') }} | head -n1)" | ||
end | ||
> fi | ||
> |
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,5 +1,7 @@ | ||
> #!/usr/bin/env bash | ||
> # This script was generated by bashly {{ Bashly::VERSION }} (https://bashly.dannyb.co) | ||
> # Modifying it manually is not recommended | ||
if Settings.enabled? :header_comment | ||
> # This script was generated by bashly {{ Bashly::VERSION }} (https://bashly.dannyb.co) | ||
> # Modifying it manually is not recommended | ||
end | ||
> | ||
> |
Oops, something went wrong.