Commit Graph

69 Commits

Author SHA1 Message Date
Francesco Abbate e68d6016f8 Add skip-subproject option in package script 2021-10-23 08:23:33 -07:00
Francesco Abbate 18189e63b6 Fix repackage script to restore project version 2021-09-10 15:48:43 +02:00
Francesco Abbate 8dd530e5cf Add -branch option in repackage script 2021-09-10 15:47:33 +02:00
redtide aa9e2e2df5 Fixed some build scripts issues, keep bash always updated on macOS 2021-09-07 15:03:00 +02:00
Francesco Abbate b4080ba148 Bring back pgo option in new build package script 2021-09-07 15:03:00 +02:00
redtide 261ab5daf2 Adapt all scripts to work together with build-packages.sh 2021-09-07 15:03:00 +02:00
Francesco Abbate 91da2ddfdd Move innosetup meson config into scripts directory
The purpose is to keep the main meson build file as simple as possible
while keeping the innosetup config.
2021-09-07 15:03:00 +02:00
redtide a75aca2538 Renamed freedesktop resources 2021-09-07 15:03:00 +02:00
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
redtide 904214378d CI and custom build script utilities
- macOS DMG image using AppDMG with custom background
- Linux AppImage
- Windows MSYS2 packaging
- Source code tarball including subprojects source code
- LHelper compatible build script
2021-08-12 22:07:38 +02: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
redtide 6955f87aaf
Merge pull request #362 from redtide/ci-innosetup
Updated InnoSetup configuration file and added related build script
2021-08-09 22:30:32 +02:00
redtide 3468164518 Updated Meson configuration
- Added version and license metadata
- Configuration data to be used in configured files to set metadata
- Portable binary and directories in the main install directory
- Binary file installed in correct places for all supported platforms
- Freedesktop AppStream support
- Added missing files install rules
2021-08-09 22:26:16 +02:00
redtide f1f3eb1185 Updated InnoSetup configuration file and added related build script 2021-08-02 18:43:59 +02:00
redtide 0ed707c68f InnoSetup build scripts 2021-07-13 23:41:32 +02:00
Francesco Abbate ad0530dafa Remove unused script run-plugin
The script was most a duplication of run-local and was
not actually used.
2021-07-11 18:38:01 +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