back to bash, cos who uses zsh
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/zsh
|
#!/usr/bin/bash
|
||||||
# populate ~/.workpath thus: `cd path/to/repo/root; pwd>~/.workpath
|
# populate ~/.workpath thus: `cd path/to/repo/root; pwd>~/.workpath
|
||||||
export INDRAROOT=$(cat ~/.workpath)
|
export INDRAROOT=$(cat ~/.workpath)
|
||||||
export PATH=$INDRAROOT/scripts:$PATH
|
export PATH=$INDRAROOT/scripts:$PATH
|
||||||
# put the path of the root of the repository in ./scripts/path
|
# put the path of the root of the repository in ./scripts/path
|
||||||
cd $INDRAROOT
|
cd $INDRAROOT
|
||||||
zsh
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env bash
|
||||||
reset
|
reset
|
||||||
go run -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5
|
go run -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env bash
|
||||||
reset
|
reset
|
||||||
go run -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5
|
go run -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env bash
|
||||||
reset
|
reset
|
||||||
go test -v -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5
|
go test -v -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env bash
|
||||||
reset
|
reset
|
||||||
go test -v -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5
|
go test -v -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env bash
|
||||||
cd pkg
|
cd pkg
|
||||||
go test -v -tags local -gcflags "all=-trimpath=$INDRAROOT" ./...
|
go test -v -tags local -gcflags "all=-trimpath=$INDRAROOT" ./...
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env bash
|
||||||
reset
|
reset
|
||||||
go run -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 --logs-level=trace $2 $3 $4 $5
|
go run -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 --logs-level=trace $2 $3 $4 $5
|
||||||
Reference in New Issue
Block a user