docs: remove zigbuild references and update just commands, fix: remove Content-Length formatting causing parse errors
This commit is contained in:
1 parent
f59602a3e2
commit
4c8e2f6414
3 files changed
+89
-23
No files matched your search
@@ -22,28 +22,65 @@ shutdown-server:
|
||||
-if (Get-Process mcp-memory-server, mcp-memory-stub, mcp-memory-win-nvim -ErrorAction SilentlyContinue) { Stop-Process -Name mcp-memory-server, mcp-memory-stub, mcp-memory-win-nvim -Force -ErrorAction SilentlyContinue }
|
||||
|
||||
# Build Windows-native binaries
|
||||
build-win:
|
||||
Write-Host "Building Windows binaries..." -ForegroundColor Cyan
|
||||
cargo build --release -p mcp-memory-server -p mcp-memory-stub -p mcp-memory-win-nvim
|
||||
build-win: build-server build-stub-win build-nvim-win
|
||||
|
||||
# Deploy Windows-native binaries
|
||||
deploy-win: shutdown-server
|
||||
Write-Host "Deploying Windows binaries..." -ForegroundColor Cyan
|
||||
Copy-Item -Force target\release\mcp-memory-stub.exe "C:\Users\reazul.ashraf\.local\bin\"; Copy-Item -Force target\release\mcp-memory-win-nvim.exe "C:\Users\reazul.ashraf\.local\bin\"
|
||||
deploy-win: deploy-server deploy-stub-win deploy-nvim-win deploy-rules-win
|
||||
|
||||
build-server:
|
||||
Write-Host "Building Windows Server..." -ForegroundColor Cyan
|
||||
cargo build --release -p mcp-memory-server
|
||||
|
||||
deploy-server: shutdown-server
|
||||
Write-Host "Deploying Windows Server..." -ForegroundColor Cyan
|
||||
Copy-Item -Force target\release\mcp-memory-server.exe "C:\Users\reazul.ashraf\.local\bin\"
|
||||
|
||||
build-stub-win:
|
||||
Write-Host "Building Windows Stub..." -ForegroundColor Cyan
|
||||
cargo build --release -p mcp-memory-stub
|
||||
|
||||
deploy-stub-win:
|
||||
Write-Host "Deploying Windows Stub..." -ForegroundColor Cyan
|
||||
-Stop-Process -Name mcp-memory-stub -Force -ErrorAction SilentlyContinue
|
||||
Copy-Item -Force target\release\mcp-memory-stub.exe "C:\Users\reazul.ashraf\.local\bin\"
|
||||
|
||||
build-nvim-win:
|
||||
Write-Host "Building Windows Nvim..." -ForegroundColor Cyan
|
||||
cargo build --release -p mcp-memory-win-nvim
|
||||
|
||||
deploy-nvim-win:
|
||||
Write-Host "Deploying Windows Nvim..." -ForegroundColor Cyan
|
||||
-Stop-Process -Name mcp-memory-win-nvim -Force -ErrorAction SilentlyContinue
|
||||
Copy-Item -Force target\release\mcp-memory-win-nvim.exe "C:\Users\reazul.ashraf\.local\bin\"
|
||||
|
||||
deploy-rules-win:
|
||||
Write-Host "Deploying global Agent rules (Windows)..." -ForegroundColor Cyan
|
||||
if (!(Test-Path "C:\Users\reazul.ashraf\.gemini\config\rules")) { New-Item -ItemType Directory -Force -Path "C:\Users\reazul.ashraf\.gemini\config\rules" | Out-Null }
|
||||
Copy-Item -Force -Recurse agent-rules\* "C:\Users\reazul.ashraf\.gemini\config\rules\"
|
||||
|
||||
# Build WSL-native binaries
|
||||
build-wsl:
|
||||
Write-Host "Building WSL binaries natively..." -ForegroundColor Cyan
|
||||
wsl.exe -d Ubuntu -e bash -c 'export PATH="$PATH:/home/riz/.cargo/bin" && cd /mnt/c/Users/reazul.ashraf/workspace/rust/mcp-memory && cargo build --release -p mcp-memory-stub -p mcp-memory-linux-nvim'
|
||||
build-wsl: build-stub-wsl build-nvim-wsl
|
||||
|
||||
# Deploy WSL-native binaries
|
||||
deploy-wsl:
|
||||
Write-Host "Deploying WSL binaries natively..." -ForegroundColor Cyan
|
||||
wsl.exe -d Ubuntu -e bash -c 'export PATH="$PATH:/home/riz/.cargo/bin" && cd /mnt/c/Users/reazul.ashraf/workspace/rust/mcp-memory && cp target/release/mcp-memory-stub /home/riz/.local/bin/ && cp target/release/mcp-memory-linux-nvim /home/riz/.local/bin/'
|
||||
deploy-wsl: deploy-stub-wsl deploy-nvim-wsl deploy-rules-wsl
|
||||
|
||||
build-stub-wsl:
|
||||
Write-Host "Building WSL Stub natively..." -ForegroundColor Cyan
|
||||
wsl.exe -d Ubuntu -e bash -c 'export PATH="$PATH:/home/riz/.cargo/bin" && cd /mnt/c/Users/reazul.ashraf/workspace/rust/mcp-memory && cargo build --release -p mcp-memory-stub'
|
||||
|
||||
deploy-stub-wsl:
|
||||
Write-Host "Deploying WSL Stub natively..." -ForegroundColor Cyan
|
||||
wsl.exe -d Ubuntu -e bash -c 'export PATH="$PATH:/home/riz/.cargo/bin" && cd /mnt/c/Users/reazul.ashraf/workspace/rust/mcp-memory && cp target/release/mcp-memory-stub /home/riz/.local/bin/'
|
||||
|
||||
build-nvim-wsl:
|
||||
Write-Host "Building WSL Nvim natively..." -ForegroundColor Cyan
|
||||
wsl.exe -d Ubuntu -e bash -c 'export PATH="$PATH:/home/riz/.cargo/bin" && cd /mnt/c/Users/reazul.ashraf/workspace/rust/mcp-memory && cargo build --release -p mcp-memory-linux-nvim'
|
||||
|
||||
deploy-nvim-wsl:
|
||||
Write-Host "Deploying WSL Nvim natively..." -ForegroundColor Cyan
|
||||
wsl.exe -d Ubuntu -e bash -c 'export PATH="$PATH:/home/riz/.cargo/bin" && cd /mnt/c/Users/reazul.ashraf/workspace/rust/mcp-memory && cp target/release/mcp-memory-linux-nvim /home/riz/.local/bin/'
|
||||
|
||||
deploy-rules-wsl:
|
||||
Write-Host "Deploying global Agent rules (WSL)..." -ForegroundColor Cyan
|
||||
wsl.exe -d Ubuntu -e bash -c 'mkdir -p /home/riz/.gemini/config/rules && cp -r /mnt/c/Users/reazul.ashraf/workspace/rust/mcp-memory/agent-rules/* /home/riz/.gemini/config/rules/'
|
||||
|
||||
@@ -59,3 +96,15 @@ test-coverage:
|
||||
# Start the server directly
|
||||
startup-server:
|
||||
cargo run -p mcp-memory-server
|
||||
|
||||
# Stop the background server
|
||||
stop: shutdown-server
|
||||
|
||||
# Start the server in the background (nohup equivalent)
|
||||
start:
|
||||
Write-Host "Starting MCP server in background..." -ForegroundColor Cyan
|
||||
Start-Process -WindowStyle Hidden -FilePath mcp-memory-server
|
||||
|
||||
# Restart the server
|
||||
restart: stop start
|
||||
|
||||
Reference in new issue
Block a user