Skip to content

Commit

Permalink
ready for publish to hex
Browse files Browse the repository at this point in the history
  • Loading branch information
smpallen99 committed May 26, 2014
1 parent b5a910f commit 67591b1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ To see what flags can be passed, use `mix help release.copy_rpm_templates`.

The `_build/rpm` directory tree, along with the rest of the release with `mix release.clean`

Please visit [https://github.com/bitwalker/exrm](exrm) for additional information using exrm.
Please visit [exrm](https://github.com/bitwalker/exrm) for additional information.

## Getting Started

Expand All @@ -27,7 +27,7 @@ This project's goal is to make building a rpm for an Elixir release very simple,
#### Add exrm_rpm as a dependency to your project
```elixir
defp deps do
[{:exrm_rpm, github: "smpallen99/exrm-rpm"}]
[{:exrm_rpm, "~> 0.1.0"}]
end
```

Expand Down Expand Up @@ -64,12 +64,11 @@ Edit your projects `config/config.exs` file
```elixir
[
test: [
build_arch: "x86-64",
summary: "An example rpm build project ...",
description: """
This is the description of my test project.
Use it wisely...
""",
summary: "An example rpm build project ...",
description: """
This is the description of my test project.
Use it wisely...
""",
]
]
```
Expand Down
2 changes: 0 additions & 2 deletions lib/exrm_rpm/exrm_rpm.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ defmodule ReleaseManager.Plugin.Rpm do
@_DEFAULT_SUMMARY "Add a summary entry in your project config"
@_DEFAULT_DESCRIPTION "Add a description your config file"
@_RPM_TEMPLATE_DIR Path.join([@_RPM_DIR, "templates"])
@_INIT_D_PATH Path.join(["etc", "init.d"])

@_RPM_SPEC_DIRS [
["SPECS"],
Expand Down Expand Up @@ -62,7 +61,6 @@ defmodule ReleaseManager.Plugin.Rpm do
})
|> Map.merge(
(for {item, default} <- [
init_dir: @_INIT_D_PATH,
rpmbuild: @_RPM_BUILD_TOOL,
rpmbuild_opts: @_RPM_BUILD_ARGS,
priv_path: Path.join([__DIR__, "..", "..", "priv"]) |> Path.expand,
Expand Down
3 changes: 2 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ defmodule ExrmRpm.Mixfile do

def project do
[app: :exrm_rpm,
version: "0.0.4",
version: "0.1.0",
elixir: "~> 0.13.2",
description: "Adds simple RPM generation to the exrm package manager."
deps: deps]
end

Expand Down

0 comments on commit 67591b1

Please sign in to comment.