From 9dbbc480e42c874c673f4b46aac592519a447d55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 28 Sep 2019 20:39:45 +0200 Subject: [PATCH] Rename project: f00bar -> yambar --- .build.yml | 12 +++++----- PKGBUILD | 4 ++-- PKGBUILD.wayland-only | 8 +++---- README.md | 8 +++---- bar/bar.c | 4 ++-- bar/meson.build | 2 +- bar/wayland.c | 4 ++-- bar/xcb.c | 2 +- completions/meson.build | 2 +- completions/zsh/{_f00bar => _yambar} | 2 +- decorations/meson.build | 2 +- doc/meson.build | 6 ++--- ...rations.5.scd => yambar-decorations.5.scd} | 10 ++++----- ...bar-modules.5.scd => yambar-modules.5.scd} | 16 +++++++------- ...particles.5.scd => yambar-particles.5.scd} | 10 ++++----- doc/{f00bar-tags.5.scd => yambar-tags.5.scd} | 6 ++--- doc/{f00bar.1.scd => yambar.1.scd} | 12 +++++----- doc/{f00bar.5.scd => yambar.5.scd} | 22 +++++++++---------- main.c | 12 +++++----- meson.build | 14 ++++++------ modules/meson.build | 2 +- particles/meson.build | 4 ++-- test/meson.build | 10 ++++----- 23 files changed, 87 insertions(+), 87 deletions(-) rename completions/zsh/{_f00bar => _yambar} (96%) rename doc/{f00bar-decorations.5.scd => yambar-decorations.5.scd} (86%) rename doc/{f00bar-modules.5.scd => yambar-modules.5.scd} (98%) rename doc/{f00bar-particles.5.scd => yambar-particles.5.scd} (96%) rename doc/{f00bar-tags.5.scd => yambar-tags.5.scd} (91%) rename doc/{f00bar.1.scd => yambar.1.scd} (85%) rename doc/{f00bar.5.scd => yambar.5.scd} (84%) diff --git a/.build.yml b/.build.yml index 8cf7a4c..22b6766 100644 --- a/.build.yml +++ b/.build.yml @@ -23,7 +23,7 @@ packages: - gcovr sources: - - https://git.sr.ht/~dnkl/f00bar + - https://git.sr.ht/~dnkl/yambar triggers: - action: email @@ -37,11 +37,11 @@ tasks: python2 -m pip install --user --upgrade setuptools - setup: | mkdir -p bld/debug bld/release bld/x11-only bld/wayland-only bld/plugs-are-shared - meson --buildtype=debug -Db_coverage=true f00bar bld/debug - meson --buildtype=minsize f00bar bld/release - meson --buildtype=debug -Dbackend-x11=enabled -Dbackend-wayland=disabled f00bar bld/x11-only - meson --buildtype=debug -Dbackend-x11=disabled -Dbackend-wayland=enabled f00bar bld/wayland-only - meson --buildtype=debug -Dcore-plugins-as-shared-libraries=true f00bar bld/plugs-are-shared + meson --buildtype=debug -Db_coverage=true yambar bld/debug + meson --buildtype=minsize yambar bld/release + meson --buildtype=debug -Dbackend-x11=enabled -Dbackend-wayland=disabled yambar bld/x11-only + meson --buildtype=debug -Dbackend-x11=disabled -Dbackend-wayland=enabled yambar bld/wayland-only + meson --buildtype=debug -Dcore-plugins-as-shared-libraries=true yambar bld/plugs-are-shared - build: | ninja -C bld/debug -k0 ninja -C bld/release -k0 diff --git a/PKGBUILD b/PKGBUILD index 4f52774..a215ccd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,9 +1,9 @@ -pkgname=f00bar +pkgname=yambar pkgver=1.1.1 pkgrel=1 pkgdesc="Simplistic and highly configurable status panel for X and Wayland" arch=('x86_64') -url=https://gitlab.com/dnkl/f00bar +url=https://gitlab.com/dnkl/yambar license=(mit) makedepends=('meson' 'ninja' 'scdoc') depends=( diff --git a/PKGBUILD.wayland-only b/PKGBUILD.wayland-only index f58b913..7e11e7c 100644 --- a/PKGBUILD.wayland-only +++ b/PKGBUILD.wayland-only @@ -1,12 +1,12 @@ -pkgname=f00bar-wayland +pkgname=yambar-wayland pkgver=1.1.1 pkgrel=1 pkgdesc="Simplistic and highly configurable status panel for Wayland" arch=('x86_64') -url=https://gitlab.com/dnkl/f00bar +url=https://gitlab.com/dnkl/yambar license=(mit) -conflicts=('f00bar') -provides=('f00bar') +conflicts=('yambar') +provides=('yambar') makedepends=('meson' 'ninja' 'scdoc') depends=( 'wayland' 'wlroots' diff --git a/README.md b/README.md index 2ffdb4c..5aec8f0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# F00bar +# Yambar ## Index @@ -11,7 +11,7 @@ ![screenshot](screenshot.png "Example configuration") -**f00bar** is a light-weight and configurable status panel (_bar_, for +**yambar** is a light-weight and configurable status panel (_bar_, for short) for X and Wayland. It has a number of _modules_ that provide information in the form of @@ -38,7 +38,7 @@ using _particles_ and _decorations_. **How** is configured by you. ## Configuration -F00bar is configured using YAML, in `~/.config/f00bar/config.yml`. It +Yambar is configured using YAML, in `~/.config/yambar/config.yml`. It must define a top-level dictionary named **bar**: bar: @@ -55,7 +55,7 @@ must define a top-level dictionary named **bar**: - string: {text: "{time}"} -For details, see the man pages (**f00bar**(5) is a good start). +For details, see the man pages (**yambar**(5) is a good start). ## Modules diff --git a/bar/bar.c b/bar/bar.c index ec0e61b..c9ca8cd 100644 --- a/bar/bar.c +++ b/bar/bar.c @@ -379,7 +379,7 @@ bar_new(const struct bar_config *config) backend_data = bar_backend_xcb_new(); backend_iface = &xcb_backend_iface; #else - LOG_ERR("f00bar was compiled without the XCB backend"); + LOG_ERR("yambar was compiled without the XCB backend"); return NULL; #endif break; @@ -389,7 +389,7 @@ bar_new(const struct bar_config *config) backend_data = bar_backend_wayland_new(); backend_iface = &wayland_backend_iface; #else - LOG_ERR("f00bar was compiled without the Wayland backend"); + LOG_ERR("yambar was compiled without the Wayland backend"); return NULL; #endif break; diff --git a/bar/meson.build b/bar/meson.build index ce8e81c..bd17d38 100644 --- a/bar/meson.build +++ b/bar/meson.build @@ -45,4 +45,4 @@ bar = declare_dependency( sources: ['bar.c', 'bar.h', 'private.h', 'backend.h'], dependencies: bar_backends + [threads]) -install_headers('bar.h', subdir: 'f00bar/bar') +install_headers('bar.h', subdir: 'yambar/bar') diff --git a/bar/wayland.c b/bar/wayland.c index a858260..a1889a1 100644 --- a/bar/wayland.c +++ b/bar/wayland.c @@ -467,7 +467,7 @@ get_buffer(struct wayland_backend *backend) pixman_image_t *pix = NULL; /* Backing memory for SHM */ - pool_fd = memfd_create("f00bar-wayland-shm-buffer-pool", MFD_CLOEXEC); + pool_fd = memfd_create("yambar-wayland-shm-buffer-pool", MFD_CLOEXEC); if (pool_fd == -1) { LOG_ERRNO("failed to create SHM backing memory file"); goto err; @@ -643,7 +643,7 @@ setup(struct bar *_bar) backend->layer_surface = zwlr_layer_shell_v1_get_layer_surface( backend->layer_shell, backend->surface, backend->monitor->output, - ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM, "f00bar"); + ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM, "yambar"); if (backend->layer_surface == NULL) { LOG_ERR("failed to create layer shell surface"); return false; diff --git a/bar/xcb.c b/bar/xcb.c index e2209dd..038da8d 100644 --- a/bar/xcb.c +++ b/bar/xcb.c @@ -167,7 +167,7 @@ setup(struct bar *_bar) backend->colormap} ); - const char *title = "f00bar"; + const char *title = "yambar"; xcb_change_property( backend->conn, XCB_PROP_MODE_REPLACE, backend->win, diff --git a/completions/meson.build b/completions/meson.build index 101b54f..5effe52 100644 --- a/completions/meson.build +++ b/completions/meson.build @@ -1,2 +1,2 @@ zsh_install_dir = join_paths(get_option('datadir'), 'zsh/site-functions') -install_data('zsh/_f00bar', install_dir: zsh_install_dir) +install_data('zsh/_yambar', install_dir: zsh_install_dir) diff --git a/completions/zsh/_f00bar b/completions/zsh/_yambar similarity index 96% rename from completions/zsh/_f00bar rename to completions/zsh/_yambar index a8f5494..1991d7a 100644 --- a/completions/zsh/_f00bar +++ b/completions/zsh/_yambar @@ -1,4 +1,4 @@ -#compdef f00bar +#compdef yambar _arguments \ -s \ diff --git a/decorations/meson.build b/decorations/meson.build index b62bdb0..ffacacc 100644 --- a/decorations/meson.build +++ b/decorations/meson.build @@ -7,7 +7,7 @@ foreach deco : ['background', 'stack', 'underline'] dependencies: deco_sdk, name_prefix: 'decoration_', install: true, - install_dir: join_paths(get_option('libdir'), 'f00bar')) + install_dir: join_paths(get_option('libdir'), 'yambar')) else decorations += [declare_dependency( sources: '@0@.c'.format(deco), diff --git a/doc/meson.build b/doc/meson.build index 76967f8..afb6e05 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -1,9 +1,9 @@ scdoc = dependency('scdoc', native: true) scdoc_prog = find_program(scdoc.get_pkgconfig_variable('scdoc'), native: true) -foreach man_src : ['f00bar.1.scd', 'f00bar.5.scd', 'f00bar-decorations.5.scd', - 'f00bar-modules.5.scd', 'f00bar-particles.5.scd', - 'f00bar-tags.5.scd'] +foreach man_src : ['yambar.1.scd', 'yambar.5.scd', 'yambar-decorations.5.scd', + 'yambar-modules.5.scd', 'yambar-particles.5.scd', + 'yambar-tags.5.scd'] parts = man_src.split('.') name = parts[-3] section = parts[-2] diff --git a/doc/f00bar-decorations.5.scd b/doc/yambar-decorations.5.scd similarity index 86% rename from doc/f00bar-decorations.5.scd rename to doc/yambar-decorations.5.scd index 7f23c84..48dcc87 100644 --- a/doc/f00bar-decorations.5.scd +++ b/doc/yambar-decorations.5.scd @@ -1,7 +1,7 @@ -f00bar-decorations(5) +yambar-decorations(5) # NAME -f00bar-decorations - configuration file +yambar-decorations - configuration file # DESCRIPTION @@ -27,7 +27,7 @@ This decoration sets the particles background color. | color : color : yes -: The background color. See *f00bar*(5) for format. +: The background color. See *yambar*(5) for format. ## EXAMPLES @@ -57,7 +57,7 @@ bottom of the particle. | color : color : yes -: The color of the line. See *f00bar*(5) for format. +: The color of the line. See *yambar*(5) for format. ## EXAMPLES @@ -92,4 +92,4 @@ content: # SEE ALSO -*f00bar-particles*(5) +*yambar-particles*(5) diff --git a/doc/f00bar-modules.5.scd b/doc/yambar-modules.5.scd similarity index 98% rename from doc/f00bar-modules.5.scd rename to doc/yambar-modules.5.scd index 0ba2b36..0b2ceae 100644 --- a/doc/f00bar-modules.5.scd +++ b/doc/yambar-modules.5.scd @@ -1,7 +1,7 @@ -f00bar-modules(5) +yambar-modules(5) # NAME -f00bar-modules - configuration file +yambar-modules - configuration file # DESCRIPTION @@ -10,12 +10,12 @@ bar. All modules expose their data through *tags*. Each tag has a *name*, *type* and *value*. The name and type is fixed, while the value -typically changes over time. See *f00bar-tags(5)*. +typically changes over time. See *yambar-tags(5)*. The tags are rendered by _particles_. Each particle has its own way of representing tag values. The simplest one is the _string_ particle, which renders a text representation of the tag value. See -*f00bar-particles*(5). +*yambar-particles*(5). Note that all the examples showed below have been kept simple. Here are a couple of tips that will improve the looks: @@ -27,10 +27,10 @@ the middle of its string. To do this, you need to wrap multiple _string_ particles in a _list_ particle. This is especially important if you want to use an icon font since -f00bar does not do font fallback handling. +yambar does not do font fallback handling. Also remember there is a short version for lists (see -*f00bar-particles*(5)) +*yambar-particles*(5)) For example, to render _backlight_ as " 20%", you could use: @@ -115,7 +115,7 @@ following attributes are supported by all modules: | content : particle : A particle describing how the module's information is to be rendered. - See *f00bar-particles*(5) + See *yambar-particles*(5) | anchors : associative array : Free-to-use associative array, where you can put yaml anchor definitions @@ -768,4 +768,4 @@ bar: # SEE ALSO -*f00bar-particles*(5), *f00bar-tags*(5), *f00bar-decorations*(5) +*yambar-particles*(5), *yambar-tags*(5), *yambar-decorations*(5) diff --git a/doc/f00bar-particles.5.scd b/doc/yambar-particles.5.scd similarity index 96% rename from doc/f00bar-particles.5.scd rename to doc/yambar-particles.5.scd index d47d4e9..6dbd6a1 100644 --- a/doc/f00bar-particles.5.scd +++ b/doc/yambar-particles.5.scd @@ -1,7 +1,7 @@ -f00bar-particles(5) +yambar-particles(5) # NAME -f00bar-particles - configuration file +yambar-particles - configuration file # DESCRIPTION @@ -43,7 +43,7 @@ following attributes are supported by all particles: | deco : decoration : no -: Decoration to apply to the particle. See *f00bar-decorations*(5) +: Decoration to apply to the particle. See *yambar-decorations*(5) # STRING @@ -61,7 +61,7 @@ of free text mixed with tag specifiers. : yes : Format string. Tags are spcified with _{tag_name}_. Some tag types have suffixes that can be appended (e.g. _{tag_name:suffix}_). See - *f00bar-modules*(5)). + *yambar-modules*(5)). | max : int : no @@ -306,4 +306,4 @@ content: # SEE ALSO -*f00bar-tags*(5), *f00bar-decorations*(5) +*yambar-tags*(5), *yambar-decorations*(5) diff --git a/doc/f00bar-tags.5.scd b/doc/yambar-tags.5.scd similarity index 91% rename from doc/f00bar-tags.5.scd rename to doc/yambar-tags.5.scd index 4f007e9..9b31712 100644 --- a/doc/f00bar-tags.5.scd +++ b/doc/yambar-tags.5.scd @@ -1,7 +1,7 @@ -f00bar-tags(5) +yambar-tags(5) # NAME -f00bar-tags - configuration file +yambar-tags - configuration file # DESCRIPTION @@ -31,7 +31,7 @@ The available tag *types* are: : Value is an integer that changes in a predictable manner (in "realtime"). This allows the particle to update itself periodically. Only supported by the - *f00bar-particle-progress-bar*(5). Other particles can still render + *yambar-particle-progress-bar*(5). Other particles can still render the tag's value. And, the _string_ particle recognizes the _:unit_ suffix, which will be translated to a "s" for a tag with "seconds" resolution, or "ms" for one with "milliseconds" resolution. diff --git a/doc/f00bar.1.scd b/doc/yambar.1.scd similarity index 85% rename from doc/f00bar.1.scd rename to doc/yambar.1.scd index a22dfd8..97300f7 100644 --- a/doc/f00bar.1.scd +++ b/doc/yambar.1.scd @@ -1,15 +1,15 @@ -f00bar(1) +yambar(1) # NAME -f00bar - modular status panel for X11 and Wayland +yambar - modular status panel for X11 and Wayland # SYNOPSIS -*f00bar* [_OPTIONS_]... +*yambar* [_OPTIONS_]... # OPTIONS *-b, --backend={xcb,wayland,auto}* - Backend to use. The default is *auto*. In this mode, f00bar will + Backend to use. The default is *auto*. In this mode, yambar will look for the environment variable _WAYLAND\_DISPLAY_, and if available, use the *Wayland* backend. If not, the *XCB* backend is used. @@ -26,7 +26,7 @@ f00bar - modular status panel for X11 and Wayland Show the version number and quit # DESCRIPTION -*f00bar* is a light-weight and configurable status panel (_bar_, for +*yambar* is a light-weight and configurable status panel (_bar_, for short) for *X* and *Wayland*. It has a number of _modules_ that provide information in the form of @@ -48,4 +48,4 @@ There are a number of modules and particles builtin. More can be added as plugins. You can even write your own! # CONFIGURATION -See *f00bar*(5) +See *yambar*(5) diff --git a/doc/f00bar.5.scd b/doc/yambar.5.scd similarity index 84% rename from doc/f00bar.5.scd rename to doc/yambar.5.scd index d4c790a..6b4a5ff 100644 --- a/doc/f00bar.5.scd +++ b/doc/yambar.5.scd @@ -1,15 +1,15 @@ -f00bar(5) +yambar(5) # NAME -f00bar - configuration file +yambar - configuration file # DESCRIPTION -A f00bar configuration file is a yaml formatted document containing an +A yambar configuration file is a yaml formatted document containing an associative array named _bar_. You may define other top-level entities and reference them using anchors. -Besides the normal yaml types, there are a couple of f00bar specific +Besides the normal yaml types, there are a couple of yambar specific types that are frequently used: - *font*: this is a string in _fontconfig_ format. Example of valid values: @@ -112,15 +112,15 @@ types that are frequently used: | left : list : no -: Left-aligned modules (see *f00bar-modules*(5)) +: Left-aligned modules (see *yambar-modules*(5)) | center : list : no -: Center-aligned modules (see *f00bar-modules*(5)) +: Center-aligned modules (see *yambar-modules*(5)) | right : list : no -: Right-aligned modules (see *f00bar-modules*(5)) +: Right-aligned modules (see *yambar-modules*(5)) # EXAMPLES @@ -142,10 +142,10 @@ bar: # FILES The configuration file is searched for (in this order): -- _$XDG_CONFIG_HOME/f00bar/config.yml_ -- _$HOME/.config/f00bar/config.yml_ +- _$XDG_CONFIG_HOME/yambar/config.yml_ +- _$HOME/.config/yambar/config.yml_ # SEE ALSO -*f00bar-modules*(5), *f00bar-particles*(5), *f00bar-tags*(5), -*f00bar-decorations*(5) +*yambar-modules*(5), *yambar-particles*(5), *yambar-tags*(5), +*yambar-decorations*(5) diff --git a/main.c b/main.c index 421f873..d111337 100644 --- a/main.c +++ b/main.c @@ -43,9 +43,9 @@ get_config_path_user_config(void) const char *home_dir = passwd->pw_dir; LOG_DBG("user's home directory: %s", home_dir); - int len = snprintf(NULL, 0, "%s/.config/f00bar/config.yml", home_dir); + int len = snprintf(NULL, 0, "%s/.config/yambar/config.yml", home_dir); char *path = malloc(len + 1); - snprintf(path, len + 1, "%s/.config/f00bar/config.yml", home_dir); + snprintf(path, len + 1, "%s/.config/yambar/config.yml", home_dir); return path; } @@ -56,9 +56,9 @@ get_config_path_xdg(void) if (xdg_config_home == NULL) return NULL; - int len = snprintf(NULL, 0, "%s/f00bar/config.yml", xdg_config_home); + int len = snprintf(NULL, 0, "%s/yambar/config.yml", xdg_config_home); char *path = malloc(len + 1); - snprintf(path, len + 1, "%s/f00bar/config.yml", xdg_config_home); + snprintf(path, len + 1, "%s/yambar/config.yml", xdg_config_home); return path; } @@ -185,7 +185,7 @@ main(int argc, char *const *argv) break; case 'v': - printf("f00bar version %s\n", F00BAR_VERSION); + printf("yambar version %s\n", YAMBAR_VERSION); return EXIT_SUCCESS; case 'h': @@ -223,7 +223,7 @@ main(int argc, char *const *argv) if (config_path == NULL) { config_path = get_config_path(); if (config_path == NULL) { - LOG_ERR("could not find a configuration (see man 5 f00bar)"); + LOG_ERR("could not find a configuration (see man 5 yambar)"); return 1; } } diff --git a/meson.build b/meson.build index bc1c36b..ee31cef 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,4 @@ -project('f00bar', 'c', +project('yambar', 'c', version: '1.1.1', license: 'MIT', meson_version: '>=0.48.0', @@ -60,7 +60,7 @@ backend_wayland = wayland_client.found() and wayland_cursor.found() and wlroots. add_project_arguments( ['-D_GNU_SOURCE', - '-DF00BAR_VERSION=@0@'.format(version)] + + '-DYAMBAR_VERSION=@0@'.format(version)] + (is_debug_build ? ['-D_DEBUG'] : []) + (backend_x11 ? ['-DENABLE_X11'] : []) + (backend_wayland ? ['-DENABLE_WAYLAND'] : []) + @@ -77,7 +77,7 @@ if backend_x11 pic: plugs_as_libs) xcb_stuff = declare_dependency(link_with: xcb_stuff_lib) - install_headers('xcb.h', subdir: 'f00bar') + install_headers('xcb.h', subdir: 'yambar') endif subdir('completions') @@ -87,8 +87,8 @@ subdir('decorations') subdir('particles') subdir('modules') -f00bar = executable( - 'f00bar', +yambar = executable( + 'yambar', 'color.h', 'config-verify.c', 'config-verify.h', 'config.c', 'config.h', @@ -107,7 +107,7 @@ f00bar = executable( build_rpath: '$ORIGIN/modules:$ORIGIN/decorations:$ORIGIN/particles', export_dynamic: true, install: true, - install_rpath: '$ORIGIN/../' + get_option('libdir') + '/f00bar') + install_rpath: '$ORIGIN/../' + get_option('libdir') + '/yambar') subdir('test') @@ -124,7 +124,7 @@ install_headers( 'tag.h', 'tllist.h', 'yml.h', - subdir: 'f00bar') + subdir: 'yambar') message('') message('Build type: @0@'.format(get_option('buildtype'))) diff --git a/modules/meson.build b/modules/meson.build index 552fc1f..523bc88 100644 --- a/modules/meson.build +++ b/modules/meson.build @@ -38,7 +38,7 @@ foreach mod, data : deps dependencies: [module_sdk] + dep, name_prefix: 'module_', install: true, - install_dir: join_paths(get_option('libdir'), 'f00bar')) + install_dir: join_paths(get_option('libdir'), 'yambar')) else modules += [declare_dependency( sources: ['@0@.c'.format(mod)] + sources, diff --git a/particles/meson.build b/particles/meson.build index 837e418..408976f 100644 --- a/particles/meson.build +++ b/particles/meson.build @@ -7,7 +7,7 @@ foreach particle : ['empty', 'list', 'map', 'progress-bar', 'ramp', 'string'] dependencies: particle_sdk, name_prefix: 'particle_', install: true, - install_dir: join_paths(get_option('libdir'), 'f00bar')) + install_dir: join_paths(get_option('libdir'), 'yambar')) else particles += [declare_dependency( sources: '@0@.c'.format(particle), @@ -21,7 +21,7 @@ dynlist_lib = build_target( target_type: plugs_as_libs ? 'shared_library' : 'static_library', override_options : ['b_lundef=false'], install: plugs_as_libs, - install_dir: get_option('libdir') + '/f00bar', + install_dir: get_option('libdir') + '/yambar', ) dynlist = declare_dependency(link_with: dynlist_lib) diff --git a/test/meson.build b/test/meson.build index 85b2ac4..e8c7138 100644 --- a/test/meson.build +++ b/test/meson.build @@ -1,10 +1,10 @@ -test('is-executable', f00bar, args: ['--version']) +test('is-executable', yambar, args: ['--version']) pwd = meson.current_source_dir() # Configuration validation tests -test('no-config', f00bar, args: ['-C', '-c', 'xyz'], should_fail: true) -test('config-isnt-file', f00bar, args: ['-C', '-c', '.'], should_fail: true) -test('config-no-bar', f00bar, args: ['-C', '-c', join_paths(pwd, 'no-bar.yml')], +test('no-config', yambar, args: ['-C', '-c', 'xyz'], should_fail: true) +test('config-isnt-file', yambar, args: ['-C', '-c', '.'], should_fail: true) +test('config-no-bar', yambar, args: ['-C', '-c', join_paths(pwd, 'no-bar.yml')], should_fail: true) -test('full-conf-good', f00bar, args: ['-C', '-c', join_paths(pwd, 'full-conf-good.yml')]) +test('full-conf-good', yambar, args: ['-C', '-c', join_paths(pwd, 'full-conf-good.yml')])