pushup icon indicating copy to clipboard operation
pushup copied to clipboard

Embed does not seem to actually embed

Open RightFootConsulting opened this issue 2 years ago • 1 comments

I am testing out the project with a build built on the windows command line. I have moved the binary copy of my forked version which fixes another issue with the sysprocattr not working in windows, and that is out for review and may need to be modified further since there is also darwin to consider.

func sysProcAttr(cmd *exec.Cmd) {
cmd.SysProcAttr = &syscall.SysProcAttr{
	CreationFlags: syscall.CREATE_NEW_PROCESS_GROUP,
}

}

Any whoo, I notice when you call a binary pushup.exe file that the scaffold files are not being handled correctly in the binary, it's like they are not there:

PS C:\stuff> .\pushup\pushup.exe new my_project

    //
 //  //      //////                        //
            //    //  //    //    //////  //////    //    //  //////
           //////    //    //  ////      //    //  //    //  //    //
          //        //    //      ////  //    //  //    //  //    //
         //          //////  //////    //    //    //////  //////
                                                          //
                                                         //

new command: copying scaffold file to project dir opening file from FS scaffold\layouts\default.up: open scaffold\layouts\default.up: file does not exist

Looking in to cause but I figured I should raise this as an issue.

RightFootConsulting avatar Jan 03 '24 18:01 RightFootConsulting

This pull request fixes the issue.

https://github.com/adhocteam/pushup/pull/121

RightFootConsulting avatar Jan 03 '24 20:01 RightFootConsulting