1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
Files
samples/code_sharing/Makefile
2022-10-20 09:00:41 -07:00

25 lines
425 B
Makefile

# MacOS/Linux-only. Sadly, this is only helpful as documentation for Windows.
# LOCAL / DOCKER
run-server:
# Depends on `make build`
docker-compose up -d
stop-server:
docker-compose stop
# Flutter
flutter-local:
cd client && flutter run -d macos
test:
(cd shared && dart test)
(cd server && dart test)
(cd client && flutter test)
# Docker
build:
(cd server && dart pub get)
docker build . -t codesharingserver