From 1ecc1199d09c5a480fb7a77b4d88650025efadd5 Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 18 May 2019 12:26:27 +0200 Subject: [PATCH] update submodule and improve tasks --- .vscode/tasks.json | 44 ++++++++++++++++--------------------- third_party/googleapis | 2 +- third_party/protobuf | 2 +- tools/git_submodule_init.sh | 2 ++ 4 files changed, 23 insertions(+), 27 deletions(-) create mode 100755 tools/git_submodule_init.sh diff --git a/.vscode/tasks.json b/.vscode/tasks.json index d1dfc9a..c348d32 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -18,32 +18,8 @@ }, { "label": "git submodule init", - "dependsOn": [ - "git submodule sync", - "git submodule update" - ], - "problemMatcher": [] - }, - { - "label": "git submodule sync", "type": "shell", - "command": "git", - "args": [ - "submodule", - "sync", - "--recursive" - ] - }, - { - "label": "git submodule update", - "type": "shell", - "command": "git", - "args": [ - "submodule", - "update", - "--init", - "--recursive" - ] + "command": "tools/git_submodule_init.sh", }, { "label": "git submodule update", @@ -57,6 +33,24 @@ "origin", "master" ] + }, + { + "label": "run authentication_service test", + "type": "shell", + "command": "pub run test", + "group": "test", + "options": { + "cwd": "${workspaceFolder}/services/authentication_service/" + } + }, + { + "label": "run app test", + "type": "shell", + "group": "test", + "command": "flutter test", + "options": { + "cwd": "${workspaceFolder}/app", + } } ] } \ No newline at end of file diff --git a/third_party/googleapis b/third_party/googleapis index 51145ff..64f0053 160000 --- a/third_party/googleapis +++ b/third_party/googleapis @@ -1 +1 @@ -Subproject commit 51145ff7812d2bb44c1219d0b76dac92a8bd94b2 +Subproject commit 64f0053af0c24d817ec44278c8b4513f6cfd77ff diff --git a/third_party/protobuf b/third_party/protobuf index ec1a709..b4f1937 160000 --- a/third_party/protobuf +++ b/third_party/protobuf @@ -1 +1 @@ -Subproject commit ec1a70913e5793a7d0a7b5fbf7e0e4f75409dd41 +Subproject commit b4f193788c9f0f05d7e0879ea96cd738630e5d51 diff --git a/tools/git_submodule_init.sh b/tools/git_submodule_init.sh new file mode 100755 index 0000000..9bd6574 --- /dev/null +++ b/tools/git_submodule_init.sh @@ -0,0 +1,2 @@ +git submodule sync --recursive +git submodule update --init --recursive \ No newline at end of file