Commit Graph

5 Commits

Author SHA1 Message Date
Francesco Abbate c9669410ad Fix macOS build issue with recent commit
Add objc_args in meson when compiling to pass C defines also to
bundle_open.m.

Default "bundle" option to false to have by default a unix-like
build and install.

In the run-local script always expect that "bundle" option is to
false to have a unix-like install.

In the build-package script pass the -Dbundle=true option when
building on macos.

When setting the resouce path revert to original method using

[[NSBundle mainBundle] resourcePath]

to have the real resource path when the bundle option will be
activated. With the recent commit the function
set_macos_bundle_resources will be called only if the "bundle"
option is activate and is not used in unix-like mode.
2021-08-19 14:33:39 -07:00
Francesco Abbate 3396a6c802 Use the start.lua file in data/core as a template
Instead of having a separate start.lua.in file in the scripts directory
and no start.lua file in data/core we use the file data/core/start.lua
as a template for Meson to generate the final start.lua file for release.

In this way people naturally trying to run lite-xl from the source folder
will have a start.lua file albeit without a resolved version number.

Otherwise, when using run-local script or the meson install command the
meson-generated start.lua file will be used as it should be.
2021-08-12 10:35:32 +02:00
Francesco Abbate c552d373ca Fix run-local script to copy generated start.lua
Now the file data/core/start.lua no longer exists but it is
automatically generated by meson. Ensure the file is copied
when running locally.
2021-08-10 11:12:47 +02:00
Francesco Abbate b3b99b9dcd Fix run-local script to use new executable name
Updated the script to use the new name on the executable,
lite-xl instead of line.
2021-07-11 18:36:49 +02:00
redtide 36ff3b1c76 Renamed dev-utils directory to scripts 2021-06-24 22:53:14 +02:00