X-Git-Url: https://gitweb.ps.run/toc/blobdiff_plain/9f94b672a5dc32da5ad01742bd4e976315a30d9c..c6ad2948bb98d42f8e0883ef82cd14cd2d5eda60:/antlr4-cpp-runtime-4.9.2-source/deploy-source.sh diff --git a/antlr4-cpp-runtime-4.9.2-source/deploy-source.sh b/antlr4-cpp-runtime-4.9.2-source/deploy-source.sh new file mode 100644 index 0000000..d079821 --- /dev/null +++ b/antlr4-cpp-runtime-4.9.2-source/deploy-source.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# Zip it +rm -f antlr4-cpp-runtime-source.zip +zip -r antlr4-cpp-runtime-source.zip "README.md" "cmake" "demo" "runtime" "CMakeLists.txt" "deploy-macos.sh" "deploy-source.sh" "deploy-windows.cmd" "VERSION" \ + -X -x "*.DS_Store*" "antlrcpp.xcodeproj/xcuserdata/*" "*Build*" "*DerivedData*" "*.jar" "demo/generated/*" "*.vscode*" "runtime/build/*" + +# Add the license file from the ANTLR root as well. +pushd ../../ +zip runtime/cpp/antlr4-cpp-runtime-source.zip LICENSE.txt +popd + +# Deploy +#cp antlr4-cpp-runtime-source.zip ~/antlr/sites/website-antlr4/download