Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
andystanton committed Apr 19, 2015
1 parent 379ffab commit 26f8d29
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 15 deletions.
1 change: 0 additions & 1 deletion .goxc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"PrereleaseInfo": "snapshot",
"PackageVersion": "1.0.1",
"ConfigVersion": "0.9",
"TaskSettings": {
Expand Down
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased][unreleased]

## [1.0.1] - 2015-04-20
### Added
- New languages: R, Nim and Lua.
- Support for Perl 6 via .p6 extension.
- Ability to specify the image used with --specify-image or -s.

### Changed
- Perl 5 is now the default for .pl extension.
- Version command is now suffixed with newline.
- Fixed typo in RunDexecContainer comments.

### Fixed
- Bug in IsDockerPresent and IsDockerPresent where defer method was not correctly called on panic.
- Corrected how paths are handled in Windows allowing volumes to be mounted.

## 1.0.0 - 2015-04-06
### Added
- Command line interface 'dexec'.
- Ability to pass source files to container.
- Container image selected based on source file extension.
- Support for Bash, C, Clojure, CoffeeScript, C++, C#, D, Erlang, F#, Go, Groovy, Haskell, Java, Lisp, Node JS, Objective C, OCaml, Perl, PHP, Python, Racket, Ruby, Rust & Scala.
- Ability to pass arguments to the language's compiler if it has one with --build-arg or -b.
- Ability to pass arguments to the executing code with --arg or -a.
- Ability to pass other files or folders to be mounted in the container with --include or -i.
- Ability to augment source files with a shebang resulting in dexec being called.
- Help dialog.
- Version dialog.

[unreleased]: https://github.com/docker-exec/dexec/compare/v1.0.1...HEAD
[1.0.1]: https://github.com/docker-exec/dexec/compare/v1.0.0...v1.0.1
18 changes: 5 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A command line utility for executing code in many different languages using the Docker Exec images, written in Go.

![dexec demo animation](https://docker-exec.github.io/images/dexec-short.gif)
![dexec demo animation](https://docker-exec.github.io/images/dexec-short-1.0.1.gif)

## Installation

Expand All @@ -12,11 +12,11 @@ Download the appropriate binary for your OS and architecture, then unzip or unta

| OS | 64-bit | 32-bit |
| ------- | ------ | ------ |
| Linux | [64-bit](https://bintray.com/artifact/download/dexec/release/dexec_1.0.0_linux_amd64.tar.gz) | [32-bit](https://bintray.com/artifact/download/dexec/release/dexec_1.0.0_linux_386.tar.gz) |
| Mac | [64-bit](https://bintray.com/artifact/download/dexec/release/dexec_1.0.0_darwin_amd64.zip) | [32-bit](https://bintray.com/artifact/download/dexec/release/dexec_1.0.0_darwin_386.zip) |
| Windows | [64-bit](https://bintray.com/artifact/download/dexec/release/dexec_1.0.0_windows_amd64.zip) | [32-bit](https://bintray.com/artifact/download/dexec/release/dexec_1.0.0_windows_386.zip) |
| Linux | [64-bit](https://bintray.com/artifact/download/dexec/release/dexec_1.0.1_linux_amd64.tar.gz) | [32-bit](https://bintray.com/artifact/download/dexec/release/dexec_1.0.1_linux_386.tar.gz) |
| Mac | [64-bit](https://bintray.com/artifact/download/dexec/release/dexec_1.0.1_darwin_amd64.zip) | [32-bit](https://bintray.com/artifact/download/dexec/release/dexec_1.0.1_darwin_386.zip) |
| Windows | [64-bit](https://bintray.com/artifact/download/dexec/release/dexec_1.0.1_windows_amd64.zip) | [32-bit](https://bintray.com/artifact/download/dexec/release/dexec_1.0.1_windows_386.zip) |

Binaries for other distributions are available on [Bintray](https://bintray.com/dexec/release/dexec/1.0.0).
Binaries for other distributions are available on [Bintray](https://bintray.com/dexec/release/dexec/1.0.1).

### Using Go

Expand All @@ -30,8 +30,6 @@ $ go get github.com/docker-exec/dexec

These examples use a .cpp source file, but any of the supported languages can be used instead. Arguments can be passed in any order, using any style of the acceptable switch styles described.

If you are using boot2docker by default the only paths that can be mounted are in the operating system's users directory. See Docker's page on [managing data in containers](https://docs.docker.com/userguide/dockervolumes/#mount-a-host-directory-as-a-data-volume) for more information.

The application provides help and version information as follows:

```sh
Expand Down Expand Up @@ -78,12 +76,6 @@ By default, ```dexec``` assumes the sources are in the directory from which it i
$ dexec -C /path/to/sources foo.cpp bar.cpp
```

Use the following form on Windows (as opposed to /c/path/to/sources):

```sh
$ dexec -C C:\path\to\sources foo.cpp bar.cpp
```

### Include files and folders mounted in Docker container

Individual files can be mounted without being passed to the compiler, for example header files in C & C++, or input files for program execution. These can be included in the following way.
Expand Down
2 changes: 1 addition & 1 deletion cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,5 @@ func DisplayHelp(filename string) {

// DisplayVersion prints the version information for the program.
func DisplayVersion(filename string) {
fmt.Printf("%s 1.0.1-snapshot", filename)
fmt.Printf("%s 1.0.1\n", filename)
}

0 comments on commit 26f8d29

Please sign in to comment.