github.com/grantbow/fit@v0.7.1-0.20220916164603-1f7c88ac81e6/fit/windows-build/Description (about)

     1  #### What did you do?
     2  added windows to .travis.yml
     3  
     4  involves os.PathSeparator.
     5  I removed use of filepath.FromSlash()because it didn't seem to work on Windows
     6  
     7  tests now pass but many in scm are disabled.
     8  
     9  
    10  
    11  
    12  
    13  fit status doesn't look right for "Need Committing or Staging" (fatal is output)
    14      and the spaced printing of some of the strings in the config is wrong
    15      it might just be the way it's printed and not bad values themselves.
    16  
    17  
    18  $ fit status
    19  Settings:
    20  
    21  Editor: vim
    22  Root Directory: C:\cygwin64\home\<user>\go\src\github.com\<user>\fit
    23  Fit Directory: C:\cygwin64\home\<user>\go\src\github.com\<user>\fit\fit
    24  Settings file: <missing>
    25  
    26  VCS Type:    git
    27  git Directory:    C:\cygwin64\home\<user>\go\src\github.com\<user>\fit\.git
    28  Need Committing or Staging:    fatal: :\fit: '\fit' is outside repository
    29  
    30  
    31  Config:
    32      es.Config{FitDir : "C : \\cygwin64\\home\\user\\go\\src\\github.com\\grantbow\\fit"
    33      FitDirName : "fit"
    34      ScmDir : "C : \\cygwin64\\home\\user\\go\\src\\github.com\\grantbow\\fit\\.git"
    35      ScmType : "git"
    36      FitYmlDir : "C : \\cygwin64\\home\\user\\go\\src\\github.com\\grantbow\\fit"
    37      FitYml : ""
    38      DefaultDescriptionFile : ""
    39      ImportXmlDump : false
    40      ImportCommentsTogether : false
    41      ProgramVersion : "0.6"
    42      DescriptionFileName : "Description"
    43      TagKeyValue : false
    44      NewFieldAsTag : false
    45      NewFieldLowerCase : false
    46      GithubPersonalAccessToken : ""
    47      TwilioAccountSid : ""
    48      TwilioAuthToken : ""
    49      TwilioPhoneNumberFrom : ""
    50      FitSite : ""
    51      MultipleFitDirs : false
    52      CloseStatusTag : false
    53      IdAbbreviate : false
    54      IdAutomatic : false}
    55  
    56  
    57  additional work needs to be broken out into other issues.
    58