Closed yaustar closed 2 years ago
This is so that there's a 'clean' folder for pc-sync to use for the PlayCanvas project that doesn't have node_modules, package.json etc files in a PLAYCANVAS_USE_CWD_AS_TARGET: 1 setup. It will just have the files from the PlayCanvas project
PLAYCANVAS_USE_CWD_AS_TARGET: 1
The setup would have ~/.pcconfig as
{ "PLAYCANVAS_API_KEY": "XXXXXX", "PLAYCANVAS_USE_CWD_AS_TARGET": 1 }
In the project (CWD), the pcconfig.json would be
pcconfig.json
{ "PLAYCANVAS_INCLUDE_REG": "Scripts/.*|.*\\.(html|js|json)$", "PLAYCANVAS_BRANCH_ID": "XXXXXX", "PLAYCANVAS_PROJECT_ID": XXXXXX, "PLAYCANVAS_CWD_SUBDIR": "src" "PLAYCANVAS_VERBOSE": 1 }
And pc-sync would push and pull files from the CWD/src directory
This is so that there's a 'clean' folder for pc-sync to use for the PlayCanvas project that doesn't have node_modules, package.json etc files in a
PLAYCANVAS_USE_CWD_AS_TARGET: 1
setup. It will just have the files from the PlayCanvas projectThe setup would have ~/.pcconfig as
In the project (CWD), the
pcconfig.json
would beAnd pc-sync would push and pull files from the CWD/src directory