updated the script for change rsync to cp + remove tsc to use typescript to compile
This commit is contained in:
		| @@ -1,12 +1,12 @@ | ||||
| tmp_dir=$(mktemp -d)/peertube-plugin-auto-import-ytb/ | ||||
| work_dir=$(pwd)/ | ||||
| tmp_dir=$(mktemp -d)/peertube-plugin-auto-import-ytb | ||||
| work_dir=$(pwd) | ||||
| # echo $work_dir | ||||
|  | ||||
| mkdir $tmp_dir | ||||
| # echo "directory created" | ||||
| rsync --exclude-from=$work_dir.rsyncignore $work_dir $tmp_dir -ar | ||||
| cp "${work_dir}/dist" "${work_dir}/package.json" "${work_dir}/LICENSE" $tmp_dir -r | ||||
| # echo "rsync --exclude-from=$work_dir.rsyncignore $work_dir $tmp_dir" | ||||
| # echo "rsync done" | ||||
| cd ../PeerTube | ||||
| node ./dist/server/tools/peertube.js plugins install --path $tmp_dir | ||||
| cd "../PeerTube" | ||||
| node "./dist/server/tools/peertube.js" plugins install --path "${tmp_dir}" | ||||
| # echo $tmp_dir | ||||
		Reference in New Issue
	
	Block a user