Build and Release DualFloatingClock / build-linux (push) Failing after 32s
CI Build / build (macos-latest) (push) Canceled after 0s
CI Build / build (windows-latest) (push) Canceled after 0s
Build and Release DualFloatingClock / build-macos (push) Canceled after 0s
Build and Release DualFloatingClock / build-windows (push) Canceled after 0s
Build and Release DualFloatingClock / generate-changelog (push) Canceled after 0s
Build and Release DualFloatingClock / create-release (push) Canceled after 0s
- Full rename: CMake target, bundle, LaunchAgent label (com.dualfloatingclock.clock), QSettings org/app, tray tooltip, icns resource, build scripts, CI workflows, sample config - Config XML: new root DualFloatingClockConfig; reader accepts legacy ClouckConfig root for painless migration of existing settings - README rewritten: fork provenance (ivaquero/clouck), features, build, tests, usage - Drop stale README-CN.md
31 lines
833 B
Bash
Executable File
31 lines
833 B
Bash
Executable File
#!/bin/bash
|
|
# Build script
|
|
|
|
echo "Starting DualFloatingClock build..."
|
|
|
|
# Create build directory if it doesn't exist
|
|
mkdir -p build
|
|
|
|
# Clean old build files
|
|
echo "Cleaning old build files..."
|
|
rm -rf build/*
|
|
|
|
# Generate Makefile using qmake
|
|
echo "Generating Makefile..."
|
|
qmake DualFloatingClock.pro
|
|
|
|
# Build project
|
|
echo "Starting compilation..."
|
|
make
|
|
|
|
# Check build result
|
|
if [ -f "build/DualFloatingClock.app/Contents/MacOS/DualFloatingClock" ] || [ -f "build/DualFloatingClock" ]; then
|
|
echo "Build successful!"
|
|
echo "Executable location:"
|
|
[ -f "build/DualFloatingClock.app/Contents/MacOS/DualFloatingClock" ] && echo " - build/DualFloatingClock.app/Contents/MacOS/DualFloatingClock (macOS)"
|
|
[ -f "build/DualFloatingClock" ] && echo " - build/DualFloatingClock (Linux)"
|
|
else
|
|
echo "Build failed!"
|
|
exit 1
|
|
fi
|