41 lines
700 B
Makefile
41 lines
700 B
Makefile
# justfile for Elysia project
|
|
|
|
# Install dependencies
|
|
install:
|
|
bun install
|
|
|
|
# Run the development server
|
|
dev:
|
|
bun run --watch src/index.ts
|
|
|
|
# Build the project
|
|
build:
|
|
bun build --compile --minify --target bun --outfile server ./src/index.ts
|
|
|
|
# Run tests
|
|
test:
|
|
bun test
|
|
|
|
check:
|
|
bunx tsc --noEmit --skipLibCheck
|
|
|
|
# Lint the project
|
|
lint:
|
|
# Add your lint command here, for example:
|
|
# bun run lint
|
|
echo "Linting not configured yet"
|
|
|
|
# Clean the project
|
|
clean:
|
|
rm -rf node_modules
|
|
rm -rf dist
|
|
|
|
# Format the code
|
|
format:
|
|
bun run prettier . --write
|
|
|
|
# Bump version
|
|
bump-version:
|
|
# Add your version bump command here
|
|
echo "Version bump not configured yet"
|