diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e84a09..1728c71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Updates 2019/07 + +### Added +- Update Skycoin-cx formular for release [v0.7.1](https://github.com/skycoin/cx/releases/tag/v0.7.1) + +### Fixed + +### Changed +- Updated the processes that can be used for testing Homebrew formula in README.md + +### Removed + ## Updates 2019/06 ### Added diff --git a/Formula/skycoin-cx.rb b/Formula/skycoin-cx.rb index 633b758..d1fc753 100644 --- a/Formula/skycoin-cx.rb +++ b/Formula/skycoin-cx.rb @@ -23,9 +23,9 @@ class SkycoinCx < Formula desc "Skycoin CX is a general programming language based on affordances" homepage "https://github.com/skycoin/cx" - url "https://github.com/skycoin/cx/releases/download/v0.7.0/cx-0.7.0-bin-macos-x64.zip" - version "0.7.0" - sha256 "20209b50054e453d87f738225f9d3830d89884366a7c391fdbbc5dfc3fe85ee8" + url "https://github.com/skycoin/cx/releases/download/v0.7.1/cx-0.7.1-bin-macos-x64.zip" + version "0.7.1" + sha256 "b8a9262696bd64b583dbd70f47fab3994a50a31a16bab1fbfcf5e151247ea3c4" bottle :unneeded diff --git a/README.md b/README.md index 231dcd3..55064e3 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,10 @@ Homebrew formulae for installing Skycoin projects and dependencies on OS X. # Usage Use the following commands to Tap the Homebrew repository +**Note:** Homebrew drops the `homebrew-` prefix from the GitHub Repo - so `skycoin/homebrew-skycoin` can be referred to as `skycoin/skycoin` and will appear as such once tapped. ```sh -brew tap skycoin/homebrew-skycoin +brew tap skycoin/skycoin ``` Then install any of [available Formulae](https://github.com/skycoin/homebrew-skycoin/tree/master/Formula). @@ -22,9 +23,36 @@ brew install skycoin-cx # Testing changes The following process can be used to test changes made to formula: 1. Ensure the target formula has already been installed on your system. I will use `skycoin-cx` to demonstrate. -2. Fork this repo on Github and clone it locally to your machine. +2. Fork the repo on Github and clone it locally to your machine. 3. Create a new branch for your changes. 4. Make your changes to the target formula and commit them. +5. At this point you can choose to either test from your own repo - which is probably the easiest, or test using localised install. + - [Repo based testing](#repo-based-testing) + - [Localise testing](#localised-testing) + +## Repo based testing +5. Push the changes back to your repo - this is where we will test from. +6. Uninstall `skycoin-cx` (and any other formula from the Skycoin tap): +```sh +brew uninstall skycoin-cx +``` +7. Untap `Skycoin`: +```sh +brew untap skycoin/skycoin +``` +8. Tap your development repo +```sh +brew tap bigookie/skycoin +``` +9. Install `skycoin-cx` from your test repo branch. You will need to locate the raw URL for the required formula file in GitHub +```sh +brew install https://raw.githubusercontent.com/BigOokie/homebrew-skycoin/cx-v0.7/Formula/skycoin-cx.rb +``` +10. To clean-up, just follow the reverse process to uninstall your development formula and untap your development repo. + +[Go to Tests Completed](#tests-completed) + +## Localised testing 5. Change directory into the skycoin-cx Homebrew ```sh cd $(brew --repo skycoin/homebrew-skycoin)/Formula @@ -43,7 +71,8 @@ brew fetch skycoin-cx brew install -vsd --git skycoin-cx ``` -All going well, you should have just installed the updated version based on the new formula. If that is the case, submit a PR with your changes to the team for further review. If you encounter issue, repeat the process above until you are able to successfully install the based on the udpated version. +## Tests completed +All going well, you should have just installed the updated version based on the new formula. If that is the case, submit a PR with your changes to the team for further review. If you encounter issue, repeat the selected process above until you are able to successfully install the based on the updated version. Contact: contact@skycoin.net