Skip to content

Commit

Permalink
Document mix dep usage, add badges, bump ver
Browse files Browse the repository at this point in the history
  • Loading branch information
tynanbe committed Jan 26, 2021
1 parent 7f6d29a commit c1ebc4a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# shellout

[![Hex Package](https://img.shields.io/hexpm/v/shellout?color=ffaff3&label=%F0%9F%93%A6)](https://hex.pm/packages/shellout)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3?label=%F0%9F%93%9A)](https://hexdocs.pm/shellout/)
[![License](https://img.shields.io/hexpm/l/shellout?color=ffaff3&label=%F0%9F%93%83)](https://hex.pm/packages/shellout)

A Gleam wrapper for [`Elixir.System.cmd/3`](https://hexdocs.pm/elixir/master/System.html#cmd/3)

## Usage
Expand All @@ -19,6 +23,25 @@ output
status
```

### As a dependency of your Mix project

Add shellout to `mix.exs`:

```elixir
{:shellout, "~> 0.1"},
```

Tooling improvements are in the works.
For now the following commands should work.

From your project's root dir:

```bash
$ mix deps.get
$ sh -c 'cd deps/shellout/ && mix deps.get && mix compile'
$ mix compile # or mix escript.build, etc
```

## Test

```bash
Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "shellout"
version = "0.1.0"
version = "0.1.1"

[repository]
type = "github"
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Shellout.MixProject do
def project do
[
app: :shellout,
version: "0.1.0",
version: "0.1.1",
description: "A Gleam wrapper for Elixir.System.cmd/3",
package: %{
files: [
Expand Down

0 comments on commit c1ebc4a

Please sign in to comment.