54 lines
1.0 KiB
Markdown
54 lines
1.0 KiB
Markdown
# pdf_signature
|
|
|
|
A GUI app to create signatures on PDF pages interactively.
|
|
|
|
## Features
|
|
|
|
checkout [`docs/FRs.md`](docs/FRs.md)
|
|
|
|
## run
|
|
|
|
```bash
|
|
# flutter clean
|
|
# arb_translate
|
|
flutter pub get
|
|
# > to generate gherkin test
|
|
flutter pub run build_runner build --delete-conflicting-outputs
|
|
# > to remove unused step definitions
|
|
# dart run tool/prune_unused_steps.dart --delete
|
|
# > to static analyze the code
|
|
flutter analyze
|
|
# > run unit tests and widget tests
|
|
flutter test
|
|
# > run integration tests
|
|
flutter test integration_test/ -d <device_id>
|
|
|
|
# dart run tool/gen_view_wireframe_md.dart
|
|
# flutter pub run dead_code_analyzer
|
|
|
|
# run the app
|
|
flutter run -d <device_id>
|
|
```
|
|
|
|
### build
|
|
|
|
For Windows
|
|
```bash
|
|
flutter build windows
|
|
# create windows installer
|
|
flutter pub run msix:create
|
|
```
|
|
|
|
For web
|
|
```bash
|
|
flutter build web
|
|
```
|
|
Open the `index.html` file in the `build/web` directory. Remove the `<base href="/">` to ensure proper routing on GitHub Pages.
|
|
|
|
For Linux
|
|
```bash
|
|
flutter build linux
|
|
cp -r build/linux/x64/release/bundle/ AppDir
|
|
appimagetool-x86_64.AppImage AppDir
|
|
```
|