Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix meson warning for run_command #28

Open
wants to merge 1 commit into
base: jammy
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
project('appstream-data-pantheon')

run_script = run_command('bash', meson.project_name() + '.sh')
run_script = run_command('bash', meson.project_name() + '.sh', check: false)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script doesn't even exist, so it always fails. What's it supposed to do? What's the result of running Meson?

The script was removed in commit b616c8c for the record. Setting this to check: true would reveal that failure. ;)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, that's what I get by somewhat blindly scanning the repos for the run_command issue without fully understanding the repo first. 😅️
Looking at the commit you mentioned, it seems to me, as if the entire meson part is not needed anymore. Do you think it would be good to just remove the meson.build file?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably?

Either that or reimplement it from scratch to install the relevant contents of pantheon-data/main/