Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CX 0.7.1 #26

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Formula/skycoin-cx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
35 changes: 32 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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
BigOokie marked this conversation as resolved.
Show resolved Hide resolved
```
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
Expand All @@ -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: [email protected]