Skip to content

Commit

Permalink
Update README, try to cross-compile only on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
zellyn committed Nov 14, 2016
1 parent 3d560bf commit 4ff0871
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ deploy:
repo: zellyn/diskii
tags: true
after_success:
- go get github.com/inconshreveable/mousetrap
- mkdir -p release
- GOOS=linux GOARCH=amd64 go build -o release/diskii-linux-amd64
- GOOS=darwin GOARCH=amd64 go build -o release/diskii-macos-amd64
- GOOS=windows GOARCH=amd64 go build -o release/diskii-windows-amd64.exe
# Cross-compile tagged releases.
if ([ "$TRAVIS_BRANCH" == "master" ] || [ ! -z "$TRAVIS_TAG" ]) && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
go get github.com/inconshreveable/mousetrap
mkdir -p release
GOOS=linux GOARCH=amd64 go build -o release/diskii-linux-amd64
GOOS=darwin GOARCH=amd64 go build -o release/diskii-macos-amd64
GOOS=windows GOARCH=amd64 go build -o release/diskii-windows-amd64.exe
fi
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ Discussion/support is in
Eventually, it aims to be a comprehensive disk image manipulation
tool, but for now only the `applesoft decode` command works.

The library code aims (a) to support the commandline tool operations, and (b) to replace the "read and write disk images" code of the [goapple2 emulator](https://github.com/zellyn/goapple2).
The library code aims (a) to support the commandline tool operations,
and (b) to replace the "read and write disk images" code of the
[goapple2 emulator](https://github.com/zellyn/goapple2).

Current disk operations supported:

Expand All @@ -46,8 +48,8 @@ request or open an issue.

### Short-term TODOs/roadmap

- [x] Build per-platform binaries for Linux, MacOS, Windows
- [ ] Implement CATALOG, deletion, and creation of files in DOS 3.3 images
- [x] Build per-platform binaries for Linux, MacOS, Windows.
- [ ] Implement CATALOG, deletion, and creation of files in DOS 3.3 images.

### Related tools

Expand Down

0 comments on commit 4ff0871

Please sign in to comment.