mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -04:00
docs: README pass, add alternative editor documentation (Zed) (#4137)
I'm switching away from visual studio (because its broken) so figured I'd document / commit the minimum to get a working environment with the editor I chose (Zed). Also cleaned up the main README so it's not so verbose, link out to secondary pages, etc. I also deleted the Arch and Fedora dockerfiles, they were broken. The ubuntu one still works, so i left it.
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
FROM archlinux:latest
|
||||
|
||||
RUN pacman -Syyu --noconfirm --needed cmake libpulse base-devel nasm python git libx11 libxrandr libxinerama libxcursor libxi
|
||||
|
||||
# makepkg user and workdir
|
||||
ARG user=jak
|
||||
RUN useradd --system --create-home $user \
|
||||
&& echo "$user ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/$user
|
||||
USER $user
|
||||
WORKDIR /home/$user
|
||||
|
||||
# Install yay
|
||||
RUN git clone https://aur.archlinux.org/yay.git \
|
||||
&& cd yay \
|
||||
&& makepkg -sri --needed --noconfirm \
|
||||
&& cd \
|
||||
# Clean up
|
||||
&& rm -rf .cache yay
|
||||
|
||||
RUN yay --noconfirm -S go-task
|
||||
|
||||
RUN mkdir /home/$user/jak-project/
|
||||
COPY --chown=jak:jak . /home/$user/jak-project
|
||||
RUN git config --global --add safe.directory /home/jak/jak-project
|
||||
|
||||
WORKDIR /home/$user/jak-project
|
||||
|
||||
RUN cmake -B build && cmake --build build -j 8
|
||||
@@ -1,20 +0,0 @@
|
||||
FROM fedora:latest
|
||||
|
||||
RUN dnf install -y curl cmake python lld clang nasm libX11-devel libXrandr-devel libXinerama-devel libXcursor-devel libXi-devel pulseaudio-libs-devel
|
||||
RUN sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin
|
||||
|
||||
ARG user=jak
|
||||
|
||||
RUN useradd -m -d /home/${user} ${user}
|
||||
|
||||
USER $user
|
||||
|
||||
WORKDIR /home/$user
|
||||
|
||||
RUN mkdir /home/$user/jak-project/
|
||||
COPY --chown=jak:jak . /home/$user/jak-project
|
||||
|
||||
WORKDIR /home/$user/jak-project
|
||||
|
||||
RUN cmake -DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=lld" -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=lld" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -B build
|
||||
RUN cmake --build build -j$(nproc)
|
||||
Reference in New Issue
Block a user