Skip to content

RFE Batch or Script to copy the template to a PI #85

@rgleason

Description

@rgleason

Trying to shorten the work if possible and reasonable.

Copy these folders

copy to the files with the same name that exist, However do not delete other files that exist in the folder.

  • .circleci
  • build-deps
  • buildosx
  • ci
  • cmake
  • mingw
  • msvc

Copy these files

  • clang-format
  • cmake-format.yml
  • editorconfig
  • .gitignore (do no add if should not be in remote)
  • travis.yml (do no add if should not be in remote)
  • appveyor.yml (do no add if should not be in remote)
  • bld.bat (do no add if should not be in remote)
  • build-local-package-example.sh ((do no add if should not be in remote)
  • compile.bat (do no add if should not be in remote)
  • make-new-plugins.sh (do no add if should not be in remote)
  • run-circleci-local.txt (do no add if should not be in remote)
  • submod-up.bat (do no add if should not be in remote)
  • update_submodule_branch.sh (do no add if should not be in remote)

Compare carefully

  • CMakeLists.txt (DO NOT JUST COPY)

Perhaps the user info should be in a separate file as that shouldn't get changed?
But then also there are special libs added and src etc. so that isn't going to work.

Changes are all done

  • git add .
  • Includes all new modified and deleted files? - Is this right?
  • stages all changes (including new, modified, and deleted files) in the current directory and its subdirectories.

Then

  • git commit -am "Your commit message"
  • git tag v[version number]
  • git push --tags origin master

NOTE
There are some special extension files that should NOT be copied over.
It allows additional special libs etc. to be used by a plugin.

  • ci/extras/extra.libs.txt (this should NOT be copied as it may have been changed)
  • ci/circleci-build-flatpak_extra_libs.txt (I suppose this should be copied)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions