Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ set allow-duplicate-recipes

import "runner/.justfile"

# TODO: Add frontend/justfile for managing frontend development tasks
import "frontend/.justfile"
20 changes: 20 additions & 0 deletions frontend/.justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Justfile for building frontend
#
# Run `just` to see all available commands

default:
@just --list

[private]
install-frontend:
#!/usr/bin/env bash
set -e
cd {{source_directory()}}
npm install

build-frontend:
#!/usr/bin/env bash
set -e
cd {{source_directory()}}
npm run build
cp -r build/ ../src/dstack/_internal/server/statics/
Loading