fix readme repo diagram, add agents.md
Some checks failed
CI - Multi-Platform Native / Build iOS (RSSuper) (push) Has been cancelled
CI - Multi-Platform Native / Build macOS (push) Has been cancelled
CI - Multi-Platform Native / Build Android (push) Has been cancelled
CI - Multi-Platform Native / Build Linux (push) Has been cancelled
CI - Multi-Platform Native / Integration Tests (push) Has been cancelled
CI - Multi-Platform Native / Build Summary (push) Has been cancelled
Some checks failed
CI - Multi-Platform Native / Build iOS (RSSuper) (push) Has been cancelled
CI - Multi-Platform Native / Build macOS (push) Has been cancelled
CI - Multi-Platform Native / Build Android (push) Has been cancelled
CI - Multi-Platform Native / Build Linux (push) Has been cancelled
CI - Multi-Platform Native / Integration Tests (push) Has been cancelled
CI - Multi-Platform Native / Build Summary (push) Has been cancelled
This commit is contained in:
@@ -20,6 +20,19 @@ xml_dep = dependency('libxml-2.0', version: '>= 2.0')
|
||||
soup_dep = dependency('libsoup-3.0', version: '>= 3.0')
|
||||
gtk_dep = dependency('gtk4', version: '>= 4.0')
|
||||
|
||||
# GSettings schemas
|
||||
schema_files = [
|
||||
'gsettings/org.rssuper.notification.preferences.gschema.xml',
|
||||
'gsettings/org.rssuper.app.settings.gschema.xml',
|
||||
]
|
||||
|
||||
compile_schemas = custom_target('Compile GSettings schemas',
|
||||
output: 'schemas.glibdir',
|
||||
command: glib_dep.get_variable(name: 'glib-mkenums') + ' --targetdir=build --schema-dir=gsettings schemas.glibdir',
|
||||
dependencies: glib_dep,
|
||||
install: false
|
||||
)
|
||||
|
||||
# Source files
|
||||
models = files(
|
||||
'src/models/feed-item.vala',
|
||||
@@ -32,6 +45,13 @@ models = files(
|
||||
'src/models/bookmark.vala',
|
||||
)
|
||||
|
||||
# Settings files
|
||||
settings = files(
|
||||
'src/settings-store.vala',
|
||||
'src/app-settings.vala',
|
||||
'src/notification-preferences-store.vala',
|
||||
)
|
||||
|
||||
# Database files
|
||||
database = files(
|
||||
'src/database/db-error.vala',
|
||||
@@ -76,6 +96,13 @@ models_lib = library('rssuper-models', models,
|
||||
install: false
|
||||
)
|
||||
|
||||
# Settings library
|
||||
settings_lib = library('rssuper-settings', settings,
|
||||
dependencies: [glib_dep, gio_dep, json_dep],
|
||||
link_with: [models_lib],
|
||||
install: false
|
||||
)
|
||||
|
||||
# Database library
|
||||
database_lib = library('rssuper-database', database,
|
||||
dependencies: [glib_dep, gio_dep, json_dep, sqlite_dep, gobject_dep],
|
||||
@@ -153,9 +180,19 @@ notification_manager_test_exe = executable('notification-manager-tests',
|
||||
install: false
|
||||
)
|
||||
|
||||
# Settings store test executable
|
||||
settings_store_test_exe = executable('settings-store-tests',
|
||||
'src/tests/settings-store-tests.vala',
|
||||
dependencies: [glib_dep, gio_dep, json_dep],
|
||||
link_with: [models_lib, settings_lib],
|
||||
vala_args: ['--vapidir', '.', '--pkg', 'gio-2.0'],
|
||||
install: false
|
||||
)
|
||||
|
||||
# Test definitions
|
||||
test('database tests', test_exe)
|
||||
test('parser tests', parser_test_exe)
|
||||
test('feed fetcher tests', fetcher_test_exe)
|
||||
test('notification service tests', notification_service_test_exe)
|
||||
test('notification manager tests', notification_manager_test_exe)
|
||||
test('settings store tests', settings_store_test_exe)
|
||||
|
||||
Reference in New Issue
Block a user