chore: vendor clipboard into go package
This commit is contained in:
15
packages/tui/clipboard/tests/Makefile
Normal file
15
packages/tui/clipboard/tests/Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
# Copyright 2021 The golang.design Initiative Authors.
|
||||
# All rights reserved. Use of this source code is governed
|
||||
# by a MIT license that can be found in the LICENSE file.
|
||||
#
|
||||
# Written by Changkun Ou <changkun.de>
|
||||
|
||||
all: test
|
||||
|
||||
test:
|
||||
go test -v -count=1 -covermode=atomic ..
|
||||
|
||||
test-docker:
|
||||
docker build -t golang-design/x/clipboard ..
|
||||
docker run --rm --name cb golang-design/x/clipboard
|
||||
docker rmi golang-design/x/clipboard
|
||||
11
packages/tui/clipboard/tests/test-docker.sh
Executable file
11
packages/tui/clipboard/tests/test-docker.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
# Copyright 2021 The golang.design Initiative Authors.
|
||||
# All rights reserved. Use of this source code is governed
|
||||
# by a MIT license that can be found in the LICENSE file.
|
||||
#
|
||||
# Written by Changkun Ou <changkun.de>
|
||||
|
||||
# require apt-get install xvfb
|
||||
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
||||
export DISPLAY=:99.0
|
||||
|
||||
go test -v -covermode=atomic ./...
|
||||
BIN
packages/tui/clipboard/tests/testdata/android.png
vendored
Normal file
BIN
packages/tui/clipboard/tests/testdata/android.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 107 KiB |
BIN
packages/tui/clipboard/tests/testdata/clipboard.png
vendored
Normal file
BIN
packages/tui/clipboard/tests/testdata/clipboard.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
BIN
packages/tui/clipboard/tests/testdata/darwin.png
vendored
Normal file
BIN
packages/tui/clipboard/tests/testdata/darwin.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 115 KiB |
BIN
packages/tui/clipboard/tests/testdata/ios.png
vendored
Normal file
BIN
packages/tui/clipboard/tests/testdata/ios.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
BIN
packages/tui/clipboard/tests/testdata/linux.png
vendored
Normal file
BIN
packages/tui/clipboard/tests/testdata/linux.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
BIN
packages/tui/clipboard/tests/testdata/windows.png
vendored
Normal file
BIN
packages/tui/clipboard/tests/testdata/windows.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
Reference in New Issue
Block a user