1
0
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:
Andrey Nering 2017-02-27 10:57:09 -03:00
parent 5b1d106724
commit 7cab3997c1

View File

@ -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)
)