mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
a978b29748
* feat: show unscheduled events in calendar toolbar (#2411)
* refactor: use same show row detail function
* fix: adjust popover offset
* feat: show unscheduled events in toolbar
* chore: apply suggestions from Xazin
* refactor: refactor list item into separate widget
---------
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
* fix: default include time (#2444)
* fix: default include time
* chore: clarify logic and add comments
* chore: bump version 0.1.4 (#2455)
* chore: Update README.md
Update product screenshots
* fix: wrong day of week (#2468)
* feat: select which properties to show in calendar (#2482)
* feat: improve sidebar item dragged appearance (#2471)
* fix: show delete icon for document icon properly (#2475)
* feat: add hover effect on an event card (#2487)
* chore: delete unncessary openCard method in RowCardContainer
* chore: delete unnessary code and add comment
* chore: update editor v0.1.12 and format the readme (#2489)
* fix: number sort (#2507)
* bump version 0.1.5 (#2506)
* chore: bump version 0.1.5
* fix: could not trigger slash menu after inserting an emoji
* Revert "feat: add hover effect on an event card (#2487)"
This reverts commit f0a4b4b77d
.
* feat: add hover effect on an event card
* fix: #2469 duplicated cover
* chore: update changelog.md (#2510)
* chore: Update README.md
Add a screenshot of the calendar view
* fix: some regressions
---------
Co-authored-by: Nathan.fooo <86001920+appflowy@users.noreply.github.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
Co-authored-by: Annie <anqi.annie.wang@gmail.com>
Co-authored-by: Yijing Huang <hyj891204@gmail.com>
34 lines
1.1 KiB
Dart
34 lines
1.1 KiB
Dart
import 'dart:io';
|
|
|
|
part 'tool.dart';
|
|
|
|
const excludeTagBegin = 'BEGIN: EXCLUDE_IN_RELEASE';
|
|
const excludeTagEnd = 'END: EXCLUDE_IN_RELEASE';
|
|
|
|
Future<void> main(List<String> args) async {
|
|
const help = '''
|
|
A build script that modifies build assets before building the release version of AppFlowy.
|
|
|
|
args[0]: The directory that contains the AppFlowy git repository. Should be the parent to appflowy_flutter. (absolute path)
|
|
args[1]: The appflowy version to be built (github ref_name).
|
|
''';
|
|
const numArgs = 2;
|
|
assert(args.length == numArgs,
|
|
'Expected ${numArgs}, got ${args.length}. Read the following for instructions about how to use this script.\n\n$help');
|
|
if (args[0] == '-h' || args[0] == '--help') {
|
|
stdout.write(help);
|
|
stdout.flush();
|
|
}
|
|
final repositoryRoot = Directory(args[0]);
|
|
assert(await repositoryRoot.exists(),
|
|
'$repositoryRoot is an invalid directory. Please try again with a valid directory.\n\n$help');
|
|
final appVersion = args[1];
|
|
String? arch;
|
|
if (args.length > 2) arch = args[2];
|
|
await _BuildTool(
|
|
repositoryRoot: repositoryRoot.path,
|
|
appVersion: appVersion,
|
|
arch: arch,
|
|
).run();
|
|
}
|