pack on darwin failing #1533
Replies: 2 comments
-
I think the problem is that the cp command is not respecting where its running from : cp -p darwin /Users/apple/workspace/go/src/github.com/joeblew999/pb-stack/mod/gui-cogent/cogentcore__lab/lab/examples/baremetal/cmd/baremetal/bin/darwin/Baremetal.app/Contents/MacOS/Baremetal.app
cp: darwin: No such file or directory It should be checking the location at which its running and using that to build a file path to the "darwin" file to then copy it. The "darwin" file is sitting right there waiting to be copied in. apple@apples-MacBook-Pro bin % shell-tree
.
└── darwin
├── Baremetal.app
│ └── Contents
└── darwin
3 directories, 1 files
apple@apples-MacBook-Pro bin % ls -al
total 0
drwxr-xr-x 3 apple staff 96 22 May 17:32 .
drwxr-xr-x 4 apple staff 128 22 May 17:32 ..
drwxr-xr-x 4 apple staff 128 22 May 17:32 darwin |
Beta Was this translation helpful? Give feedback.
-
Btw what the command structure for packing for other OS / ISA I am playing around with packing for windows, as gio and fine has code to help do that for us that can be used as a reference to get it going. In the core cmd, can then add explicit naming for building for all desktops and mobile, just like we have explicit for web. pack --target ? ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Seems that pack is busted on darwin ? Looks like it expects the binary name to be "darwin" when trying to copy it the binary into the Apple Mac Bundle ?
Getting same issue on cogent core examples too...
My task file output:
Beta Was this translation helpful? Give feedback.
All reactions