From db81ba1fd1bf41fee1f612778dc6e04d33410d89 Mon Sep 17 00:00:00 2001 From: vitusortner Date: Fri, 21 Feb 2020 22:51:14 +0100 Subject: [PATCH] Add workflow scripts --- 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