From 899d7acdd70997fd5b91cf91f729dd745fdb7fc7 Mon Sep 17 00:00:00 2001 From: Shuhei Takahashi Date: Mon, 6 Jul 2020 22:14:21 +0900 Subject: [PATCH] Use the standard build/run protocol Issue: icfpcontest2020/dockerfiles#36 --- build.sh | 3 +++ run.sh | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 build.sh create mode 100755 run.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..61ac6b8 --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +bazel --batch build --distdir=/bazel/dist -c opt //app:app diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..ecfbe91 --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +exec bazel-bin/app/app "$@"