Repository navigation
pack on darwin failing #1533
Unanswered
joeblew999
asked this question in
Q&A
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 directoryIt 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 |
0 replies
|
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 ? ? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
All reactions