mirror of
https://github.com/go-task/task.git
synced 2025-02-03 13:22:11 +02:00
Use relative path
This commit is contained in:
parent
5b1d106724
commit
7cab3997c1
9
task.go
9
task.go
@ -6,17 +6,14 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/kardianos/osext"
|
||||
"gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
var (
|
||||
CurrentDirectory, _ = osext.ExecutableFolder()
|
||||
TaskFilePath = filepath.Join(CurrentDirectory, "Taskfile.yml")
|
||||
ShExists bool
|
||||
ShPath string
|
||||
TaskFilePath = "Taskfile.yml"
|
||||
ShExists bool
|
||||
ShPath string
|
||||
|
||||
Tasks = make(map[string]*Task)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user