-
Notifications
You must be signed in to change notification settings - Fork 8
updates to install cmd #76
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
base: main
Are you sure you want to change the base?
Conversation
--root can be used to specify the install root.
The create_if_not_exist(...) function will now create parent directories if they do not exists. Added call to create_if_not_exists(...) when installing executable.
|
Still, there are conflicts. Please resolve it first. |
|
It seems that cppship-examples will check after In addition, you'd better run cppship lint and fmt in advance in your env using llvm@19. |
Yes, I have run both, but there were no warnings/changes on feat-install-cmd ❯ git status
On branch feat-install-cmd
Your branch is up to date with 'origin/feat-install-cmd'.
nothing to commit, working tree clean
on feat-install-cmd ❯ cppship lint
lint run clang-tidy
on feat-install-cmd ❯ cppship fmt
format run clang-format
format all files are formated
on feat-install-cmd ❯ git status
On branch feat-install-cmd
Your branch is up to date with 'origin/feat-install-cmd'.
nothing to commit, working tree clean
on feat-install-cmd ❯Perhaps cppship is not running them for some reason?, but there is no indication of any errors. |
cppship fmt -c HEAD~6
cppship lint -c HEAD~6
# run this for more options
cppship fmt -hBy default, fmt and lint only runs against uncommitted files. |
In CI, the following commands are executed: mergebase=$(git merge-base --fork-point origin/${{github.event.pull_request.base.ref}})
cppship build -d
cppship fmt -c ${mergebase}
cppship lint -c ${mergebase} |
Ah, OK. |
|
running The call to most (maybe all?) of the other warnings are in files I haven't modified. Does it lint clean on your machine? I compiled llvm 19.1.7 from source and used Lmod to configure load it into my environment because clang-15 is the newest version on Ubuntu 22.04. What should I do here? |
|
This adds support for creating the install destination, giving a user-defined install directory with
--rootoption, and changes the default install directory to~/.cppship/bin.