kleinTodo/build.sh

15 lines
298 B
Bash
Raw Normal View History

#!/bin/bash
set -e
# Make sure bin directory exists for outputs
mkdir -p bin
echo "Building server..."
(cd server && go build -o ../bin/server .)
echo "Building client..."
(cd client/todo && go build -o ../../bin/todo .)
echo "Build successful! Binaries are in the 'bin' directory."
ls -l bin/