-
-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xmake create -lc -Phello will not replace FAQ and TARGETNAME #5138
Comments
ruki:dddd ruki$ xmake create -lc -Phello
create dddd ...
[+]: xmake.lua
[+]: src/main.c
[+]: .gitignore
create ok!
ruki:dddd ruki$ cat ./hello/xmake.lua
add_rules("mode.debug", "mode.release")
target("dddd")
set_kind("binary")
add_files("src/*.c")
it works for me. |
you can try to change to another dir. |
I have tested in other OSs and it can work. I think it is the bug about NixOS. |
We should have |
why? |
why? |
it will add and srcfile is only for readonly. |
all xmake program files are only for readonly. we need not to write them. |
No. It doesn't happened. If I |
try this patch. #5570 you need rebuild xmake core binary and reinstall it. |
Does it work now? |
Yes, thanks! |
NixOS/nixpkgs#314313 (comment)
|
Oh, I must |
Can we allow use |
Xmake Version
v2.9.1+20240422,
Operating System Version and Architecture
Linux 6.9.1
Describe Bug
Expected Behavior
Project Configuration
/
Additional Information and Error Logs
And xmake.lua generated by
xmake create
has permissionr--r--r--
. Why not use umask?The text was updated successfully, but these errors were encountered: