From 90a3e15baab1b4c9a547f960e635c8d3befc3604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D1=85=D0=B5=D1=80=D0=B5=D1=82=D0=B8=D0=BA?= <херетик@indra.org> Date: Fri, 16 Jun 2023 10:09:45 +0100 Subject: [PATCH] added helpers to work with ssh shell --- scripts/cdwork | 4 ++++ scripts/test.sh | 3 +++ scripts/testpkg.sh | 3 +++ 3 files changed, 10 insertions(+) create mode 100755 scripts/cdwork create mode 100755 scripts/test.sh create mode 100755 scripts/testpkg.sh diff --git a/scripts/cdwork b/scripts/cdwork new file mode 100755 index 00000000..05476202 --- /dev/null +++ b/scripts/cdwork @@ -0,0 +1,4 @@ +#!/usr/bin/zsh +cd /home/loki/work/loki/indra-labs/indra +export PATH=/home/loki/work/loki/indra-labs/indra/scripts:$PATH +zsh \ No newline at end of file diff --git a/scripts/test.sh b/scripts/test.sh new file mode 100755 index 00000000..25cd4939 --- /dev/null +++ b/scripts/test.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh +reset +go test -v -tags local -gcflags "all=-trimpath=/home/loki/work/loki/indra-labs/indra" $1 $2 $3 $4 $5 \ No newline at end of file diff --git a/scripts/testpkg.sh b/scripts/testpkg.sh new file mode 100755 index 00000000..9c8a2b0e --- /dev/null +++ b/scripts/testpkg.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env zsh +cd pkg +go test -v -tags local -gcflags "all=-trimpath=/home/loki/work/loki/indra-labs/indra" ./... \ No newline at end of file