File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,22 +37,13 @@ brews:
3737 owner : sandstorm
3838 name : homebrew-tap
3939 # Git author used to commit to the repository.
40- # Defaults are shown.
4140 commit_author :
4241 name : Sandstorm Release Bot
4342 email : release-bot@sandstorm.de
4443 # Folder inside the repository to put the formula.
45- # Default is the root folder.
4644 folder : Formula
47- # Your app's homepage.
48- # Default is empty.
4945 homepage : " https://github.com/sandstorm/dev-script-runner"
50- # Your app's description.
51- # Default is empty.
5246 description : " Sandstorm Dev Script Runner"
53- # This is a common pattern in Homebrew formulae. We install the directory
54- # under bin/, as that directory is supposed to contains executables only,
55- # but rather to install both the script and the directory in some place,
56- # then create a wrapper in bin/ that calls the script from that place.
47+ # we want to install the dev runner with a different name
5748 install : |
5849 bin.install "dev-script-runner" => "dev"
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ function test() {
1515 echo " #### TEST ####"
1616 _log_success " SUCCESS"
1717 _log_warning " WARNING"
18+ _log_success " Arguments"
19+ _log_success ' $0: ' " $0 "
20+ _log_success ' $1: ' " $1 "
21+ _log_success ' $2: ' " $2 "
1822}
1923
2024function setup() {
@@ -23,12 +27,6 @@ function setup() {
2327 ./dev_setup.sh
2428}
2529
26- function sometask() {
27- # Most task will only require some steps. We recommend implementing them here
28- _log_success " First Step of some task"
29- _log_warning " TODO: implement more steps"
30- }
31-
3230# ###### Utilities #######
3331
3432_log_success () {
You can’t perform that action at this time.
0 commit comments