├── .editorconfig ├── README.md ├── Formula └── hello-brew.rb └── .gitignore /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | end_of_line = lf 5 | insert_final_newline = true 6 | charset = utf-8 7 | indent_style = space 8 | indent_size = 2 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # `homebrew-pkgs` Tap for homebrew 2 | 3 | > Repository with personal formula which can be added as [hombrew](https://brew.sh) Tap. (MacOS) 4 | 5 | ## Tap this repository 6 | 7 | To add this tap to your local `brew taps`, simply run: 8 | 9 | ```sh 10 | brew tap pddstudio/pkgs 11 | ``` 12 | 13 | ## Install a Formula from this Tap 14 | 15 | Any formula from this Tap can be installed via: 16 | 17 | ```sh 18 | brew install pddstudio/pkgs/ 19 | ``` 20 | 21 | ## Available Formula 22 | 23 | `None, yet!` 24 | 25 | ## Contributing 26 | 27 | > TODO: Add contribution guide. 28 | 29 | ### Reporting an Issue 30 | 31 | > TODO 32 | 33 | ### Contributing a Formula 34 | 35 | > TODO 36 | 37 | ### Requesting a Formula 38 | 39 | > TODO 40 | -------------------------------------------------------------------------------- /Formula/hello-brew.rb: -------------------------------------------------------------------------------- 1 | class HelloBrew < Formula 2 | desc "Simple test formula that prints hello world" 3 | homepage "https://github.com/pddstudio/hello-brew" 4 | url "" 5 | sh256 "" 6 | 7 | bottle :unneeded 8 | 9 | depends_on "bash" => :optional 10 | depends_on "cake" 11 | 12 | def install 13 | system "./configure", "--prefix=#{prefix}" 14 | system "make", "install" 15 | end 16 | 17 | 18 | test do 19 | (testpath/"hello-brew.cake").write <<~EOS 20 | var target = Argument ("target", "info"); 21 | 22 | Task("info").Does(() => { 23 | Information ("Hello, World from the hello-brew command!"); 24 | }); 25 | 26 | RunTarget ("info"); 27 | EOS 28 | assert_match "Hello, World from the hello-brew command!\n", shell_output("#{bin}/cake hello-brew.cake") 29 | end 30 | end 31 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | *.pid.lock 13 | 14 | # Directory for instrumented libs generated by jscoverage/JSCover 15 | lib-cov 16 | 17 | # Coverage directory used by tools like istanbul 18 | coverage 19 | 20 | # nyc test coverage 21 | .nyc_output 22 | 23 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 24 | .grunt 25 | 26 | # Bower dependency directory (https://bower.io/) 27 | bower_components 28 | 29 | # node-waf configuration 30 | .lock-wscript 31 | 32 | # Compiled binary addons (https://nodejs.org/api/addons.html) 33 | build/Release 34 | 35 | # Dependency directories 36 | node_modules/ 37 | jspm_packages/ 38 | 39 | # TypeScript v1 declaration files 40 | typings/ 41 | 42 | # Optional npm cache directory 43 | .npm 44 | 45 | # Optional eslint cache 46 | .eslintcache 47 | 48 | # Optional REPL history 49 | .node_repl_history 50 | 51 | # Output of 'npm pack' 52 | *.tgz 53 | 54 | # Yarn Integrity file 55 | .yarn-integrity 56 | 57 | # dotenv environment variables file 58 | .env 59 | 60 | # parcel-bundler cache (https://parceljs.org/) 61 | .cache 62 | 63 | # next.js build output 64 | .next 65 | 66 | # nuxt.js build output 67 | .nuxt 68 | 69 | # vuepress build output 70 | .vuepress/dist 71 | 72 | # Serverless directories 73 | .serverless 74 | 75 | # TypeScript build output 76 | dist/ 77 | 78 | # Packaged build output 79 | bin/ 80 | 81 | # Documentation output 82 | docs/build/ 83 | 84 | # temporary stuff 85 | .tmp/ 86 | --------------------------------------------------------------------------------