summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh14
-rwxr-xr-xscripts/build_sandbox.sh14
-rwxr-xr-xscripts/clean.sh14
-rwxr-xr-xscripts/debug.sh14
-rwxr-xr-xscripts/start.sh14
-rwxr-xr-xscripts/start_sandbox.sh14
6 files changed, 84 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index f4f4ce91..9a258d87 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -1,4 +1,18 @@
#!/bin/bash
+# Copyright 2025 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
set -euo pipefail
# npm install if node_modules was removed (e.g. via npm run clean or scripts/clean.sh)
diff --git a/scripts/build_sandbox.sh b/scripts/build_sandbox.sh
index a34679e9..47a6749f 100755
--- a/scripts/build_sandbox.sh
+++ b/scripts/build_sandbox.sh
@@ -1,4 +1,18 @@
#!/bin/bash
+# Copyright 2025 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
set -euo pipefail
IMAGE=gemini-code-sandbox
diff --git a/scripts/clean.sh b/scripts/clean.sh
index 1e523087..2dc0232d 100755
--- a/scripts/clean.sh
+++ b/scripts/clean.sh
@@ -1,4 +1,18 @@
#!/bin/bash
+# Copyright 2025 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
set -euo pipefail
# remove npm install/build artifacts
diff --git a/scripts/debug.sh b/scripts/debug.sh
index 45191057..d70dd60f 100755
--- a/scripts/debug.sh
+++ b/scripts/debug.sh
@@ -1,4 +1,18 @@
#!/bin/bash
+# Copyright 2025 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
set -euo pipefail
node ./scripts/check-build-status.js
diff --git a/scripts/start.sh b/scripts/start.sh
index 2c24c61d..51d239af 100755
--- a/scripts/start.sh
+++ b/scripts/start.sh
@@ -1,4 +1,18 @@
#!/bin/bash
+# Copyright 2025 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
set -euo pipefail
# check build status, write warnings to file for app to display if needed
diff --git a/scripts/start_sandbox.sh b/scripts/start_sandbox.sh
index ce405d6e..b6693ce6 100755
--- a/scripts/start_sandbox.sh
+++ b/scripts/start_sandbox.sh
@@ -1,4 +1,18 @@
#!/bin/bash
+# Copyright 2025 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
set -euo pipefail
IMAGE=gemini-code-sandbox