Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (21 sloc) 548 Bytes
default: build run
clean:
@[[ ! -e game.love ]] || rm game.love
@[[ ! -e pkg ]] || rm -r pkg
build:
@zip -r game.love data/
@cd src/ && zip -r ../game.love *
run:
@love game.love
# packaging
package-windows-x86:
@lib/package.sh windows_x86
package-windows-x64:
@lib/package.sh windows_x64
package-linux-x86:
@lib/package.sh linux_x86
package-linux-x64:
@lib/package.sh linux_x64
package-windows: package-windows-x86 package-windows-x64
package-linux: package-linux-x86 package-linux-x64
package-all: package-linux package-windows