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
|
||||
export INDRAROOT=$(cat ~/.workpath)
|
||||
export PATH=$INDRAROOT/scripts:$PATH
|
||||
# put the path of the root of the repository in ./scripts/path
|
||||
cd $INDRAROOT
|
||||
zsh
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env zsh
|
||||
#!/usr/bin/env bash
|
||||
reset
|
||||
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
|
||||
go run -gcflags "all=-trimpath=$INDRAROOT" $1 $2 $3 $4 $5
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env zsh
|
||||
#!/usr/bin/env bash
|
||||
reset
|
||||
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
|
||||
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
|
||||
go test -v -tags local -gcflags "all=-trimpath=$INDRAROOT" ./...
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env zsh
|
||||
#!/usr/bin/env bash
|
||||
reset
|
||||
go run -tags local -gcflags "all=-trimpath=$INDRAROOT" $1 --logs-level=trace $2 $3 $4 $5
|
||||
Reference in New Issue
Block a user