From 0acf39771fea8b3c94abd3979faea8dfd0fe8ea8 Mon Sep 17 00:00:00 2001 From: Vitus Date: Fri, 21 Feb 2020 22:55:08 +0100 Subject: [PATCH] Add workflow scripts (#266) --- tool/generate_test_database.sh | 4 ++++ tool/get.sh | 14 ++++++++++++++ tool/upgrade.sh | 14 ++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 tool/generate_test_database.sh create mode 100644 tool/get.sh create mode 100644 tool/upgrade.sh diff --git a/tool/generate_test_database.sh b/tool/generate_test_database.sh new file mode 100644 index 00000000..b3c539c4 --- /dev/null +++ b/tool/generate_test_database.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +cd ../floor +flutter packages pub run build_runner build diff --git a/tool/get.sh b/tool/get.sh new file mode 100644 index 00000000..146190ad --- /dev/null +++ b/tool/get.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +cd .. + +cd floor +flutter packages pub get +cd .. + +cd floor_annotation +pub get +cd .. + +cd floor_generator +pub get diff --git a/tool/upgrade.sh b/tool/upgrade.sh new file mode 100644 index 00000000..7bec3c07 --- /dev/null +++ b/tool/upgrade.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +cd .. + +cd floor +flutter packages pub upgrade +cd .. + +cd floor_annotation +pub upgrade +cd .. + +cd floor_generator +pub upgrade