]> gitweb.ps.run Git - toc/blobdiff - antlr4-cpp-runtime-4.9.2-source/deploy-source.sh
add antlr source code and ReadMe
[toc] / 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 (file)
index 0000000..d079821
--- /dev/null
@@ -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