mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
425 B
25 lines
425 B
# 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
|
|
|