Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rayed

Code editor written in C++ with raylib

fun fact: this README was written with it!


Compiling

To build the project, you need to install raylib as a system package, which is very easy on Linux -- just use your package manager, and search for raylib, raylib-dev or raylib-devel. Also install Lua in a similar vein.

I don't know how to do that on Windows. On macOS, brew might work.

After installing raylib, you can build the project using the provided Makefile:

make

To run the program after building:

make run

To build the program with debug flags:

make debug

To clean up the build directory completely:

make clean

To create a tarball for a GitHub release, use the release target:

make release ARCH=<arch> OS=<os>

Replace <arch> with your CPU architecture (amd64/aarch64/whatever) and <os> with your OS (linux/mac/win).

Bugs & crashes

Find a bug or a crash? Please report it!

Specifically for segfaults, you can use the make debug target, which:

  1. compiles rayed with debug flags
  2. launches the program in gdb
  3. automatically generates a backtrace and saves it to build/backtrace.txt

Include the contents of backtrace.txt in your report for easier debugging.

About

code editor written in C++ and raylib

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages