-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev-setup.sh
More file actions
executable file
·29 lines (22 loc) · 915 Bytes
/
Copy pathdev-setup.sh
File metadata and controls
executable file
·29 lines (22 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash -v
# Development setup script for markdown-neuraxis
# Installs system dependencies required for Dioxus desktop development on Linux
set -e # exit on error
echo "Setting up development environment for markdown-neuraxis..."
# Update package list
echo "Updating package list..."
sudo apt update
# Install GTK and related development libraries required by Dioxus desktop
echo "Installing GTK development libraries..."
sudo apt install -y \
libgtk-3-dev \
libglib2.0-dev \
libwebkit2gtk-4.1-dev \
libxdo-dev
# Install Rust development tools via binstall for faster binary downloads
# Prerequisite: cargo binstall (https://github.com/cargo-bins/cargo-binstall)
echo "Installing Rust development tools..."
cargo binstall -y cargo-insta
cargo binstall -y cargo-machete
echo "Development dependencies installed successfully!"
echo "You can now run 'cargo build' to build the application."