quaint-telephone-89068
02/08/2023, 5:04 PM// This lockfile was autogenerated by Pants. To regenerate, run:
//
// /Users/my_user_name/Projects/my_project_name/scie-pants-macos-aarch64 generate-lockfiles --resolve=python-default
//
// --- BEGIN PANTS LOCKFILE METADATA: DO NOT EDIT OR REMOVE ---
I want the lock file to be the same no matter which machine created it. And I don't want to store my local machine paths in git repo.
I've tried with:
./scie-pants-macos-aarch64 generate-lockfiles --generate-lockfiles-custom-command=./pants
But it will create instruction that is not valid:
// This lockfile was autogenerated by Pants. To regenerate, run:
//
// ./pants
//
// --- BEGIN PANTS LOCKFILE METADATA: DO NOT EDIT OR REMOVE ---
Trying to fix it using --generate-lockfiles-custom-command would lead to something like --generate-lockfiles-custom-command="./pants generate-lockfiles --generate-lockfiles-custom-command='recursion here?'"
pantsbuild/pantsuser
02/10/2023, 2:10 PM