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
456 B
25 lines
456 B
2 years ago
|
# 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 && flutter pub get)
|
||
|
docker build ./server -t codesharingserver -f server/Dockerfile
|
||
|
|