neiam
/apollos_crib
It's Apollo's Crib
public · Issues · Pulls 1 · Labels · Forks · Compare · Actions failure · Badges · Packages
⭐
Log in to mark this repository.
missing cronos from git ffff
d4f77d0 · gmorell · 2022-09-15 17:10
Files changed
added
apps/room_cronos/.formatter.exs
+4
−0
@@ -0,0 +1,4 @@
| 1 | +# Used by "mix format" | |
| 2 | +[ | |
| 3 | + inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"] | |
| 4 | +] |
added
apps/room_cronos/.gitignore
+26
−0
@@ -0,0 +1,26 @@
| 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 third-party dependencies like ExDoc output generated docs. | |
| 11 | +/doc/ | |
| 12 | + | |
| 13 | +# Ignore .fetch files in case you like to edit your project deps locally. | |
| 14 | +/.fetch | |
| 15 | + | |
| 16 | +# If the VM crashes, it generates a dump, let's ignore it too. | |
| 17 | +erl_crash.dump | |
| 18 | + | |
| 19 | +# Also ignore archive artifacts (built via "mix archive.build"). | |
| 20 | +*.ez | |
| 21 | + | |
| 22 | +# Ignore package tarball (built via "mix hex.build"). | |
| 23 | +room_cronos-*.tar | |
| 24 | + | |
| 25 | +# Temporary files, for example, from tests. | |
| 26 | +/tmp/ |
added
apps/room_cronos/README.md
+21
−0
@@ -0,0 +1,21 @@
| 1 | +# RoomCronos | |
| 2 | + | |
| 3 | +**TODO: Add description** | |
| 4 | + | |
| 5 | +## Installation | |
| 6 | + | |
| 7 | +If [available in Hex](https://hex.pm/docs/publish), the package can be installed | |
| 8 | +by adding `room_cronos` to your list of dependencies in `mix.exs`: | |
| 9 | + | |
| 10 | +```elixir | |
| 11 | +def deps do | |
| 12 | + [ | |
| 13 | + {:room_cronos, "~> 0.1.0"} | |
| 14 | + ] | |
| 15 | +end | |
| 16 | +``` | |
| 17 | + | |
| 18 | +Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc) | |
| 19 | +and published on [HexDocs](https://hexdocs.pm). Once published, the docs can | |
| 20 | +be found at <https://hexdocs.pm/room_cronos>. | |
| 21 | + |
added
apps/room_cronos/lib/room_cronos.ex
+18
−0
@@ -0,0 +1,18 @@
| 1 | +defmodule RoomCronos do | |
| 2 | + @moduledoc """ | |
| 3 | + Documentation for `RoomCronos`. | |
| 4 | + """ | |
| 5 | + | |
| 6 | + @doc """ | |
| 7 | + Hello world. | |
| 8 | + | |
| 9 | + ## Examples | |
| 10 | + | |
| 11 | + iex> RoomCronos.hello() | |
| 12 | + :world | |
| 13 | + | |
| 14 | + """ | |
| 15 | + def hello do | |
| 16 | + :world | |
| 17 | + end | |
| 18 | +end |
added
apps/room_cronos/mix.exs
+33
−0
@@ -0,0 +1,33 @@
| 1 | +defmodule RoomCronos.MixProject do | |
| 2 | + use Mix.Project | |
| 3 | + | |
| 4 | + def project do | |
| 5 | + [ | |
| 6 | + app: :room_cronos, | |
| 7 | + version: "0.1.0", | |
| 8 | + build_path: "../../_build", | |
| 9 | + config_path: "../../config/config.exs", | |
| 10 | + deps_path: "../../deps", | |
| 11 | + lockfile: "../../mix.lock", | |
| 12 | + elixir: "~> 1.13", | |
| 13 | + start_permanent: Mix.env() == :prod, | |
| 14 | + deps: deps() | |
| 15 | + ] | |
| 16 | + end | |
| 17 | + | |
| 18 | + # Run "mix help compile.app" to learn about applications. | |
| 19 | + def application do | |
| 20 | + [ | |
| 21 | + extra_applications: [:logger] | |
| 22 | + ] | |
| 23 | + end | |
| 24 | + | |
| 25 | + # Run "mix help deps" to learn about dependencies. | |
| 26 | + defp deps do | |
| 27 | + [ | |
| 28 | + # {:dep_from_hexpm, "~> 0.3.0"}, | |
| 29 | + # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}, | |
| 30 | + # {:sibling_app_in_umbrella, in_umbrella: true} | |
| 31 | + ] | |
| 32 | + end | |
| 33 | +end |
added
apps/room_cronos/test/room_cronos_test.exs
+8
−0
@@ -0,0 +1,8 @@
| 1 | +defmodule RoomCronosTest do | |
| 2 | + use ExUnit.Case | |
| 3 | + doctest RoomCronos | |
| 4 | + | |
| 5 | + test "greets the world" do | |
| 6 | + assert RoomCronos.hello() == :world | |
| 7 | + end | |
| 8 | +end |
added
apps/room_cronos/test/test_helper.exs
+1
−0
@@ -0,0 +1 @@
| 1 | +ExUnit.start() |
Parents: 14aa555