0

In PhpStorm, under Tools | Deployment | Configuration | Mappings, is it possible to use wildcards or regex when configuring paths?

jetbrains doumentation

4
  • 1
    No, there is no wildcards for it. You must map them manually. But you don't have to specify sub-paths, just top most different path. Or does your local project has completely different structure than when deployed? Commented Sep 2 at 9:10
  • @Justinas The folder structure is the same, but the whole project doesn’t need to be uploaded. I tried using excludedPaths and then separately added the necessary files in mappings, but exclude has higher priority, so I cannot upload the specified files. Commented Sep 2 at 9:27
  • 1
    Can you alter structure? E.g. we have in root all files needed locally for builds, etc. and in /src we have all files needed to be included in Docker, so there is only one include path used Commented Sep 2 at 9:39
  • @Justinas now I’m thinking what’s better - to manually specify all the necessary files or to change the folder structure Commented Sep 2 at 9:52

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.