forked from SnosMe/awakened-poe-trade
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (31 loc) · 1 KB
/
Makefile
File metadata and controls
36 lines (31 loc) · 1 KB
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
30
31
32
33
34
35
36
.PHONY: build release clean help sync
# (default: Linux AppImage)
build:
@echo "Building for Linux (AppImage) with Docker..."
docker build --target export --output type=local,dest=./dist .
@echo "Build complete! Binaries in dist/"
# Full cycle: build + package
release: build
@echo "Release build complete! Check dist/ for binaries"
# Cleanup dist
clean:
@echo "Cleaning build artifacts..."
rm -rf dist
@echo "Cleaning Docker build cache..."
docker builder prune -f
# Sync with upstream repo
sync:
@echo "Fetching from upstream..."
git fetch upstream
@echo ""
@echo "Merging upstream/master into current branch..."
git merge upstream/master
@echo ""
@echo "Sync complete! Push to your fork with: git push origin master"
# Show some "help"
help:
@echo "Available targets:"
@echo " make build - Build using Docker"
@echo " make release - Complete release build"
@echo " make sync - Sync with original repository"
@echo " make clean - Remove build artifacts and Docker cache"