From 00ac231926ae84fb2ba43a0c6b40c1e55a836b61 Mon Sep 17 00:00:00 2001 From: Marvin Date: Sat, 9 May 2026 15:52:50 +0000 Subject: [PATCH] refactor: rename setup script to remove rust reference --- Containerfile | 4 ++-- setup-dev.sh | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100755 setup-dev.sh diff --git a/Containerfile b/Containerfile index 4c1b94a..07fa74b 100644 --- a/Containerfile +++ b/Containerfile @@ -4,11 +4,11 @@ FROM alpine:latest COPY install-apk.sh /usr/local/bin/ COPY install-rust.sh /usr/local/bin/ COPY install-cargo-tools.sh /usr/local/bin/ -COPY setup-rust-dev.sh /usr/local/bin/ +COPY setup-dev.sh /usr/local/bin/ # Make them executable and run the orchestrator RUN chmod +x /usr/local/bin/*.sh && \ - /usr/local/bin/setup-rust-dev.sh + /usr/local/bin/setup-dev.sh # Set the default shell to fish (or bash) CMD ["/usr/bin/fish"] diff --git a/setup-dev.sh b/setup-dev.sh new file mode 100755 index 0000000..fc4f115 --- /dev/null +++ b/setup-dev.sh @@ -0,0 +1,15 @@ +#!/bin/bash +set -e + +# Run the sub-scripts +/usr/local/bin/install-apk.sh +/usr/local/bin/install-rust.sh +/usr/local/bin/install-cargo-tools.sh + +echo "Setting up dotfiles..." +mkdir -p $HOME/.config/dotfiles +if [ ! -d "$HOME/.config/dotfiles/.git" ]; then + git clone https://git.nubo.sh/hulthe/df.git $HOME/.config/dotfiles +fi +cd $HOME/.config/dotfiles +bash manager/setup.sh