From dc7ce87df0f4d3feaf8913cf19810d33738f87a0 Mon Sep 17 00:00:00 2001 From: KeshavAnandCode Date: Sat, 13 Dec 2025 23:58:13 -0600 Subject: [PATCH] Changed repo --- CNAME | 1 - commands.sh | 65 ------------------------------------------- run-linux.sh | 13 --------- run-mac.sh | 13 --------- run-windows.bat | 13 --------- terminalOneLiners.txt | 3 -- 6 files changed, 108 deletions(-) delete mode 100644 CNAME delete mode 100644 commands.sh delete mode 100644 run-linux.sh delete mode 100644 run-mac.sh delete mode 100644 run-windows.bat delete mode 100644 terminalOneLiners.txt diff --git a/CNAME b/CNAME deleted file mode 100644 index faf8daa..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -terminalportfolio.keshavanand.net \ No newline at end of file diff --git a/commands.sh b/commands.sh deleted file mode 100644 index 329b734..0000000 --- a/commands.sh +++ /dev/null @@ -1,65 +0,0 @@ -#!/bin/bash - -#macos - -cd ~/Downloads/Code/Terminal -rm -rf macbuild -mkdir macbuild -cd macbuild -cmake -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" .. -make - - - -#Linux - -cd ~/Downloads/Code/Terminal -rm -rf linuxbuild -mkdir linuxbuild -cd linuxbuild - -docker run --rm -v "$(pwd)/..":/src -w /src gcc:latest bash -c " -apt-get update && apt-get install -y cmake make -mkdir -p build && cd build -cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-static' .. -make -cd .. -mv build linuxbuild/ -" - -#Linux Test - -cd ~/Downloads/Code/Terminal - -docker run --rm -v "$(pwd)/linuxbuild":/build -w /build --platform linux/amd64 ubuntu:22.04 bash -c " -apt-get update && apt-get install -y libstdc++6 -./build/portfolio -" - -#Windows: - -cd ~/Downloads/Code/Terminal -rm -rf winbuild -mkdir winbuild - -# Download Dockcross helper -docker run --rm dockcross/windows-static-x64 > ./winbuild/dockcross-windows -chmod +x ./winbuild/dockcross-windows - -# Build Windows binary inside winbuild -# Note: we mount the repo root (current folder) as /work -./winbuild/dockcross-windows bash -c " -mkdir -p /work/winbuild/build -cd /work/winbuild/build -cmake -DCMAKE_BUILD_TYPE=Release -S /work -B . -make -cp portfolio.exe /work/winbuild/ -" - -#Windows Test (requires Wine) - -cd ~/Downloads/Code/Terminal - -docker run --rm -v "$(pwd)/winbuild":/winbuild -w /winbuild --platform linux/amd64 \ - scottyhardy/docker-wine:latest wine64 build/portfolio.exe - diff --git a/run-linux.sh b/run-linux.sh deleted file mode 100644 index 76d9e9f..0000000 --- a/run-linux.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -# Download the Linux executable -curl -L https://github.com/KeshavAnandCode/Terminal/releases/download/v2.0/portfolio-linux -o /tmp/portfolio - -# Make it executable -chmod +x /tmp/portfolio - -# Run it -/tmp/portfolio - -# Clean up -rm /tmp/portfolio \ No newline at end of file diff --git a/run-mac.sh b/run-mac.sh deleted file mode 100644 index acfbfd7..0000000 --- a/run-mac.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -# Download the macOS executable -curl -L https://github.com/KeshavAnandCode/Terminal/releases/download/v2.0/portfolio-mac -o /tmp/portfolio - -# Make it executable -chmod +x /tmp/portfolio - -# Run it -/tmp/portfolio - -# Clean up -rm /tmp/portfolio \ No newline at end of file diff --git a/run-windows.bat b/run-windows.bat deleted file mode 100644 index 78b1055..0000000 --- a/run-windows.bat +++ /dev/null @@ -1,13 +0,0 @@ -@echo off -setlocal - -:: Download the Windows executable -powershell -Command "Invoke-WebRequest -Uri 'https://github.com/KeshavAnandCode/Terminal/releases/download/v2.0/portfolio-windows' -OutFile '%TEMP%\\portfolio.exe'" - -:: Run the executable -"%TEMP%\portfolio.exe" - -:: Clean up -del "%TEMP%\portfolio.exe" - -endlocal \ No newline at end of file diff --git a/terminalOneLiners.txt b/terminalOneLiners.txt deleted file mode 100644 index 0b44490..0000000 --- a/terminalOneLiners.txt +++ /dev/null @@ -1,3 +0,0 @@ -/bin/bash -c "$(curl -fsSL https://terminalportfolio.keshavanand.net/run-mac.sh)" for Mac -/bin/bash -c "$(curl -fsSL https://terminalportfolio.keshavanand.net/run-linux.sh)" for linux -iwr https://terminalportfolio.keshavanand.net/run-windows.bat -OutFile \$env:TEMP\run-windows.bat; Start-Process \$env:TEMP\run-windows.bat -Wait \ No newline at end of file