1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Files
samples/code_sharing/Makefile
Brett Morgan d99fb974a0 Re-add Craig Labenz's code sharing sample (#1466)
* Revert "Revert "Add code sharing sample (#1444)" (#1464)"

This reverts commit dc50c46ef1.

* Opting out failing tests on Windows for CI

Co-authored-by: Craig Labenz <craig.labenz@gmail.com>
2022-10-18 13:15:31 -04:00

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