diff --git a/README.md b/README.md index e69de29..dcb2c93 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,10 @@ +experimental port of labelmerge to gleam + +how to run it: + +1. install [devbox](https://www.jetify.com/docs/devbox/installing-devbox) +2. run `devbox run labelmerge` + +it will be at http://0.0.0.0:3879 + +alternatively you can install erlang and gleam and rebar3 on your own prefered packaging system \ No newline at end of file diff --git a/devbox.json b/devbox.json new file mode 100644 index 0000000..9358aab --- /dev/null +++ b/devbox.json @@ -0,0 +1,19 @@ +{ + "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.17.5/.schema/devbox.schema.json", + "packages": [ + "gleam@latest", + "erlang_28@latest", + "rebar3@latest" + ], + "shell": { + "init_hook": [ + "echo 'Welcome to devbox!' > /dev/null" + ], + "scripts": { + "labelmerge": "gleam run", + "test": [ + "echo \"Error: no test specified\" && exit 1" + ] + } + } +} diff --git a/devbox.lock b/devbox.lock new file mode 100644 index 0000000..96637d0 --- /dev/null +++ b/devbox.lock @@ -0,0 +1,153 @@ +{ + "lockfile_version": "1", + "packages": { + "erlang_28@latest": { + "last_modified": "2025-05-21T18:43:04Z", + "resolved": "github:NixOS/nixpkgs/8c441601c43232976179eac52dde704c8bdf81ed#erlang_28", + "source": "devbox-search", + "version": "28.0", + "systems": { + "aarch64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/fb1lm7wg1cbwabjql88kgz8by9s7w0nv-erlang-28.0", + "default": true + } + ], + "store_path": "/nix/store/fb1lm7wg1cbwabjql88kgz8by9s7w0nv-erlang-28.0" + }, + "aarch64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/rs42l2b0f70q2icln266pixf9b525d4r-erlang-28.0", + "default": true + } + ], + "store_path": "/nix/store/rs42l2b0f70q2icln266pixf9b525d4r-erlang-28.0" + }, + "x86_64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/rr6hvzwkgsymsi8bkd9rdq6wkl71g9m8-erlang-28.0", + "default": true + } + ], + "store_path": "/nix/store/rr6hvzwkgsymsi8bkd9rdq6wkl71g9m8-erlang-28.0" + }, + "x86_64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/c26vfbk13b6dc52b3cxapqg5hbppsg98-erlang-28.0", + "default": true + } + ], + "store_path": "/nix/store/c26vfbk13b6dc52b3cxapqg5hbppsg98-erlang-28.0" + } + } + }, + "github:NixOS/nixpkgs/nixpkgs-unstable": { + "last_modified": "2026-07-19T09:25:00Z", + "resolved": "github:NixOS/nixpkgs/b471514bed69eff5255c8e63c1f80e5fe56c616f?lastModified=1784453100&narHash=sha256-zpGZb8FYui%2Bi8KLtC0nlcmb0voR2zB80Qn8pe7lzIbk%3D" + }, + "gleam@latest": { + "last_modified": "2026-07-13T16:51:43Z", + "resolved": "github:NixOS/nixpkgs/8431ff8a526bba781b711db7ae58ad0e49c38e35#gleam", + "source": "devbox-search", + "version": "1.17.0", + "systems": { + "aarch64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/pmhvlihn46li87k08fjw87xfzgwzja7g-gleam-1.17.0", + "default": true + } + ], + "store_path": "/nix/store/pmhvlihn46li87k08fjw87xfzgwzja7g-gleam-1.17.0" + }, + "aarch64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/6s0xavqkc8763c640m0i9b4lr82ica0a-gleam-1.17.0", + "default": true + } + ], + "store_path": "/nix/store/6s0xavqkc8763c640m0i9b4lr82ica0a-gleam-1.17.0" + }, + "x86_64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/dqafyqmxglcbrd4df80bmijklr79sf9d-gleam-1.17.0", + "default": true + } + ], + "store_path": "/nix/store/dqafyqmxglcbrd4df80bmijklr79sf9d-gleam-1.17.0" + }, + "x86_64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/prg9bnwbm1xz86pii4cxw6kjp54p5zk4-gleam-1.17.0", + "default": true + } + ], + "store_path": "/nix/store/prg9bnwbm1xz86pii4cxw6kjp54p5zk4-gleam-1.17.0" + } + } + }, + "rebar3@latest": { + "last_modified": "2024-12-26T01:25:00Z", + "resolved": "github:NixOS/nixpkgs/16e046229f3b4f53257973a5532bcbb72457d2f2#rebar3", + "source": "devbox-search", + "version": "3.24.0", + "systems": { + "aarch64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/j8x4awhnv0jnbg5y3b7i61jphgl5ikp8-rebar3-3.24.0", + "default": true + } + ], + "store_path": "/nix/store/j8x4awhnv0jnbg5y3b7i61jphgl5ikp8-rebar3-3.24.0" + }, + "aarch64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/iaj9f0501klpszxyzpzabfyf0lir3b3v-rebar3-3.24.0", + "default": true + } + ], + "store_path": "/nix/store/iaj9f0501klpszxyzpzabfyf0lir3b3v-rebar3-3.24.0" + }, + "x86_64-darwin": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/xyha83p1q95zkwzflqf9iy5p7fi8539y-rebar3-3.24.0", + "default": true + } + ], + "store_path": "/nix/store/xyha83p1q95zkwzflqf9iy5p7fi8539y-rebar3-3.24.0" + }, + "x86_64-linux": { + "outputs": [ + { + "name": "out", + "path": "/nix/store/0320iwslqglskr2jmak6x5wq6sssybqa-rebar3-3.24.0", + "default": true + } + ], + "store_path": "/nix/store/0320iwslqglskr2jmak6x5wq6sssybqa-rebar3-3.24.0" + } + } + } + } +}