mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-24 18:36:21 +03:00
Add a script to import the plan to Element-Android project
This commit is contained in:
parent
3917b4c8cf
commit
055c9be9ce
1 changed files with 18 additions and 0 deletions
18
tools/import_analytic_plan.sh
Executable file
18
tools/import_analytic_plan.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo "Deleted existing plan..."
|
||||
rm vector/src/main/java/im/vector/app/features/analytics/plan/*.*
|
||||
|
||||
echo "Cloning analytics project..."
|
||||
mkdir analytics_tmp
|
||||
cd analytics_tmp
|
||||
git clone https://github.com/matrix-org/matrix-analytics-events.git
|
||||
|
||||
echo "Copy plan..."
|
||||
cp matrix-analytics-events/types/kotlin2/* ../vector/src/main/java/im/vector/app/features/analytics/plan/
|
||||
|
||||
echo "Cleanup."
|
||||
cd ..
|
||||
rm -rf analytics_tmp
|
||||
|
||||
echo "Done."
|
Loading…
Reference in a new issue