A decentralized music tracking and discovery platform built on AT Protocol 🎵 rocksky.app
spotify atproto lastfm musicbrainz scrobbling listenbrainz
0

Configure Feed

Select the types of activity you want to include in your feed.

rocksky / sdk / erlang / build-core.sh
649 B 17 lines
1#!/usr/bin/env bash 2# Build the native NIF from the shared Rust core and stage it at 3# priv/rocksky_nif.so (loaded as .so on every Unix, including macOS). 4set -euo pipefail 5here="$(cd "$(dirname "$0")" && pwd)" # sdk/erlang 6root="$here/../.." # repo root 7mkdir -p "$here/priv" 8 9case "$(uname -s)" in 10 Darwin) nifsrc=librocksky_nif.dylib ;; 11 MINGW* | MSYS* | CYGWIN*) nifsrc=rocksky_nif.dll ;; 12 *) nifsrc=librocksky_nif.so ;; 13esac 14 15cargo build --release -p rocksky-nif --manifest-path "$root/Cargo.toml" 16cp "$root/target/release/$nifsrc" "$here/priv/rocksky_nif.so" 17echo "built rocksky erlang NIF → $here/priv/rocksky_nif.so"