forked from lite-xl/lite-xl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install plugins with lpm inside meson (lite-xl#1951)
* meson: install plugins with lpm * meson: add cachedir as output * build.sh: fix bash syntax error * build.sh: only copy datadir when PGO is enabled * build.sh: properly install files with meson install * build.sh: install macOS bundle files with .app suffix * ci: copy bundle and portable files correctly * package-dmg: remove extraneous steps * ci: fix wrong bundle path * build.sh: force reconfigure bundle=false if bundle is not explicitly given * build.sh: move wrong bundle=true assignment to the right place * ci: remove -a flag from cp command * ci: use xargs and find -print0 to omit spaces in find output * ci: specify correct path to Info.plist * ci: correctly run dmgbuild * dmgbuild: get application path from command line * ci: organize dmgbuild arguments * ci: properly escape arguments * ci: finally correctly specify yaml string * ci: don't copy Info.plist again * build.sh: don't install any plugins if -A is not specified * build.sh: use the latest release from github
- Loading branch information
1 parent
7c5b631
commit 3fe6460
Showing
7 changed files
with
77 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
if get_option('bundle_plugins').length() > 0 | ||
lpm_exe = find_program('lpm') | ||
plugin_bundle = custom_target( | ||
'lpm_plugins', | ||
input: 'meson.build', | ||
output: [lpm_userdir, 'lpm_cache'], | ||
command: [ | ||
lpm_exe, | ||
'--datadir', meson.project_source_root() / 'data', | ||
'--userdir', '@OUTPUT0@', | ||
'--cachedir', '@OUTPUT1@', | ||
'--assume-yes', | ||
'install', | ||
get_option('bundle_plugins'), | ||
], | ||
install: true, | ||
install_dir: [lpm_install_dir, false], | ||
build_by_default: true, | ||
) | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.