Consider the following:
"move:toGame": "yarn build:all && cp -a dist/ --location process.env.location"
Which is run as yarn move:toGame --location:"../directory/here/"
Either I don't know how copy works. (which is possible at this point) or I am failing at making this take a command line argument.
Either way how do I get this to work as intended? I get:
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
via TheWebs
No comments:
Post a Comment