podman-desktop/.devcontainer/onCreateCommand.sh
Florent Benoit 4eaed9e0b7 chore: upgrade to vite v4 and rollup v3
https://vitejs.dev/blog/announcing-vite4.html

also update vite svelte plug-in to a v4 vite compliant version

Change-Id: Ib83831ccff175b757c997a1321a2b60eb09b83e5
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
2022-12-22 12:07:36 +01:00

24 lines
914 B
Bash
Executable file

#!/bin/bash
#
# Copyright (C) 2022 Red Hat, Inc.
#
# 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.
#
# SPDX-License-Identifier: Apache-2.0
# This script is run inside the container after the repo has been cloned.
# Launch yarn to install dependencies and build the project.
yarn
# build podman-desktop
MODE=production yarn run build && yarn run electron-builder build --linux --dir --config .electron-builder.config.cjs