Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Microsandbox Erlang SDK

A minimal Erlang SDK for the Microsandbox project.

Installation

Rebar3

Add to your rebar.config:

{deps, [
    {microsandbox, "0.0.1"}
]}.

Mix (for Elixir projects)

def deps do
  [
    {:microsandbox, "~> 0.0.1"}
  ]
end

Usage

% Print a greeting
{ok, Greeting} = microsandbox:greet("World"),
io:format("~s~n", [Greeting]).

Development

Setup

# Clone the repository
git clone https://github.com/yourusername/monocore.git
cd monocore/sdk/erlang

# Compile the project
rebar3 compile

Running Tests

rebar3 eunit

Building Documentation

rebar3 edoc

Publishing to Hex.pm

  1. Create an account on Hex.pm if you don't have one.

  2. Add Hex as a plugin to rebar3 in your ~/.config/rebar3/rebar.config:

{plugins, [rebar3_hex]}.
  1. Configure your Hex credentials:
rebar3 hex user auth
  1. Publish your package:
rebar3 hex publish

For more details, see Publishing Packages with rebar3_hex.

License

MIT