Skip to content

Commit

Permalink
chore(bin,test): clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed May 6, 2024
1 parent c9dabc2 commit c10ad48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 3 additions & 6 deletions bin/build-runtime-library.sh
Expand Up @@ -102,17 +102,14 @@ declare sources=(
$(find "$root"/src/core/*.cc)
$(find "$root"/src/ipc/*.cc)
$(find "$root"/src/extension/*.cc)
"$root/src/window/manager.cc"
"$root/src/window/dialog.cc"
"$root/src/window/hotkey.cc"
)

declare test_headers=()
declare cflags

if [[ "$platform" = "desktop" ]]; then
sources+=("$root/src/window/hotkey.cc")
sources+=("$root/src/window/manager.cc")
fi

if [[ "$platform" = "android" ]]; then
source "$root/bin/android-functions.sh"
android_fte
Expand Down Expand Up @@ -141,7 +138,7 @@ elif [[ "$host" = "Win32" ]]; then
sources+=("$root/src/process/win.cc")
fi

cflags+=($("$root/bin/cflags.sh"))
cflags+=($(ARCH="$arch" "$root/bin/cflags.sh"))

if [[ "$platform" = "android" ]]; then
cflags+=("$clang_target ${android_includes[*]}")
Expand Down
2 changes: 0 additions & 2 deletions test/src/util.js
Expand Up @@ -140,8 +140,6 @@ test('util.splitBuffer', (t) => {
t.equal(c.toString(), 'ar', 'util.splitBuffer returns an array of buffers')
})

test('util.InvertedPromise', (t) => {})

test('util.clamp', (t) => {
t.equal(util.clamp(0, 0, 1), 0, 'util.clamp returns the lower bound if the value is less than the lower bound')
t.equal(util.clamp(1, 0, 1), 1, 'util.clamp returns the upper bound if the value is greater than the upper bound')
Expand Down

0 comments on commit c10ad48

Please sign in to comment.