mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Makefile doesn't need to init submodules anymore
This commit is contained in:
11
Makefile
11
Makefile
@ -1,16 +1,7 @@
|
||||
# Init initializes the repo for development.
|
||||
init:
|
||||
git submodule update --init --recursive
|
||||
@echo You probably want to run "zig build" instead.
|
||||
.PHONY: init
|
||||
|
||||
# Slightly cursed way that we setup a dev version of this locally on NixOS.
|
||||
dev/install:
|
||||
zig build -Dcpu=baseline -Doptimize=ReleaseFast
|
||||
if [ -f "/etc/NIXOS" ]; then patchelf --set-rpath "${LD_LIBRARY_PATH}" zig-out/bin/ghostty; fi
|
||||
mkdir -p ${HOME}/bin
|
||||
cp zig-out/bin/ghostty ${HOME}/bin/devtty
|
||||
.PHONY: dev/install
|
||||
|
||||
# glad updates the GLAD loader. To use this, place the generated glad.zip
|
||||
# in this directory next to the Makefile, remove vendor/glad and run this target.
|
||||
#
|
||||
|
Reference in New Issue
Block a user