Skip to content

Commit b66360e

Browse files
committed
Initial commit.
0 parents  commit b66360e

File tree

8 files changed

+119
-0
lines changed

8 files changed

+119
-0
lines changed

.gitignore

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# The directory Mix will write compiled artifacts to.
2+
/_build
3+
4+
# If you run "mix test --cover", coverage assets end up here.
5+
/cover
6+
7+
# The directory Mix downloads your dependencies sources to.
8+
/deps
9+
10+
# Where 3rd-party dependencies like ExDoc output generated docs.
11+
/doc
12+
13+
# If the VM crashes, it generates a dump, let's ignore it too.
14+
erl_crash.dump
15+
16+
# Also ignore archive artifacts (built via "mix archive.build").
17+
*.ez
18+
19+
# Custom
20+
bench/snapshots/

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# XmlTransform
2+
3+
**TODO: Add description**
4+
5+
## Installation
6+
7+
If [available in Hex](https://hex.pm/docs/publish), the package can be installed as:
8+
9+
1. Add `xml_transform` to your list of dependencies in `mix.exs`:
10+
11+
```elixir
12+
def deps do
13+
[{:xml_transform, "~> 0.1.0"}]
14+
end
15+
```
16+
17+
2. Ensure `xml_transform` is started before your application:
18+
19+
```elixir
20+
def application do
21+
[applications: [:xml_transform]]
22+
end
23+
```
24+

config/config.exs

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file is responsible for configuring your application
2+
# and its dependencies with the aid of the Mix.Config module.
3+
use Mix.Config
4+
5+
# This configuration is loaded before any dependency and is restricted
6+
# to this project. If another project depends on this project, this
7+
# file won't be loaded nor affect the parent project. For this reason,
8+
# if you want to provide default values for your application for
9+
# 3rd-party users, it should be done in your "mix.exs" file.
10+
11+
# You can configure for your application as:
12+
#
13+
# config :xml_transform, key: :value
14+
#
15+
# And access this configuration in your application as:
16+
#
17+
# Application.get_env(:xml_transform, :key)
18+
#
19+
# Or configure a 3rd-party app:
20+
#
21+
# config :logger, level: :info
22+
#
23+
24+
# It is also possible to import configuration files, relative to this
25+
# directory. For example, you can emulate configuration per environment
26+
# by uncommenting the line below and defining dev.exs, test.exs and such.
27+
# Configuration from the imported file will override the ones defined
28+
# here (which is why it is important to import them last).
29+
#
30+
# import_config "#{Mix.env}.exs"

lib/xml_transform.ex

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
defmodule XmlTransform do
2+
end

mix.exs

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
defmodule XmlTransform.Mixfile do
2+
use Mix.Project
3+
4+
def project do
5+
[app: :xml_transform,
6+
version: "0.1.0",
7+
elixir: "~> 1.3",
8+
build_embedded: Mix.env == :prod,
9+
start_permanent: Mix.env == :prod,
10+
deps: deps()]
11+
end
12+
13+
# Configuration for the OTP application
14+
#
15+
# Type "mix help compile.app" for more information
16+
def application do
17+
[applications: [:logger]]
18+
end
19+
20+
# Dependencies can be Hex packages:
21+
#
22+
# {:mydep, "~> 0.3.0"}
23+
#
24+
# Or git/path repositories:
25+
#
26+
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
27+
#
28+
# Type "mix help deps" for more examples and options
29+
defp deps do
30+
[{:benchfella, "~> 0.3.0"}]
31+
end
32+
end

mix.lock

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
%{"benchfella": {:hex, :benchfella, "0.3.3", "bbde48b5fe1ef556baa7ad933008e214e050e81ddb0916350715f5759fb35c0c", [:mix], []}}

test/test_helper.exs

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ExUnit.start()

test/xml_transform_test.exs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
defmodule XmlTransformTest do
2+
use ExUnit.Case
3+
doctest XmlTransform
4+
5+
test "the truth" do
6+
assert 1 + 1 == 2
7+
end
8+
9+
end

0 commit comments

Comments
 (0)