Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Barabas5532 committed Aug 4, 2024
1 parent 8432fcb commit 5ed04eb
Show file tree
Hide file tree
Showing 14 changed files with 230 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
FLUTTER_CHANNEL: 'stable'
MELOS_VERSION: '^6.1.0'
COVERDE_VERSION: '^0.2.0+2'
COVERAGE_VERSION: '^0.2.0+2'
COVERAGE_VERSION: '^1.9.0'

jobs:
build-firmware:
Expand Down
4 changes: 2 additions & 2 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ header:
- '**/*.pbserver.dart'
- '**/*.pb-c.c'
- '**/*.pb-c.h'
- 'frontend/.dart_tool/**'
- 'frontend/linux/flutter/**'
- '**/.dart_tool/**'
- '**/linux/flutter/**'
# Test support files are usually derivatives of third-party library code,
# which is licensed under some other license.
- 'test/support/**'
Expand Down
19 changes: 19 additions & 0 deletions dart/shrapnel_common/lib/api_data/api_message.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

import 'package:freezed_annotation/freezed_annotation.dart';

import 'audio_event_message.dart';
Expand Down
19 changes: 19 additions & 0 deletions dart/shrapnel_common/lib/api_data/audio_event_message.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

import 'package:freezed_annotation/freezed_annotation.dart';

part 'audio_event_message.freezed.dart';
Expand Down
19 changes: 19 additions & 0 deletions dart/shrapnel_common/lib/api_data/parameter_message.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

import 'package:freezed_annotation/freezed_annotation.dart';

part 'parameter_message.freezed.dart';
Expand Down
19 changes: 19 additions & 0 deletions dart/shrapnel_common/lib/api_data/presets_message.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

import 'package:freezed_annotation/freezed_annotation.dart';

part 'presets_message.freezed.dart';
Expand Down
19 changes: 19 additions & 0 deletions dart/shrapnel_common/lib/api_data/selected_preset_data.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

import 'package:freezed_annotation/freezed_annotation.dart';

part 'selected_preset_data.freezed.dart';
Expand Down
24 changes: 18 additions & 6 deletions dart/shrapnel_common/lib/shrapnel_common.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
/// Support for doing something awesome.
///
/// More dartdocs go here.
library;
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

export 'src/shrapnel_common_base.dart';

// TODO: Export any libraries intended for clients of this package.
19 changes: 19 additions & 0 deletions dart/shrapnel_common/lib/src/shrapnel_common_base.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

import 'dart:async';

import 'package:esp_softap_provisioning/esp_softap_provisioning.dart';
Expand Down
19 changes: 19 additions & 0 deletions dart/shrapnel_common/test/shrapnel_common_test.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

import 'package:test/test.dart';

void main() {
Expand Down
19 changes: 19 additions & 0 deletions dart/shrapnel_test_lib/lib/shrapnel_test_lib.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

/// Testing utilities.
library;

Expand Down
19 changes: 19 additions & 0 deletions dart/shrapnel_test_tool/bin/shrapnel_test_tool.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

import 'package:shrapnel_test_tool/shrapnel_test_tool.dart'
as shrapnel_test_tool;

Expand Down
19 changes: 19 additions & 0 deletions dart/shrapnel_test_tool/lib/shrapnel_test_tool.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

import 'package:logging/logging.dart';
import 'package:shrapnel_test_lib/shrapnel_test_lib.dart';

Expand Down
19 changes: 19 additions & 0 deletions dart/shrapnel_test_tool/test/shrapnel_test_tool_test.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright 2022 Barabas Raffai
*
* This file is part of ShrapnelDSP.
*
* ShrapnelDSP is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option)
* any later version.
*
* ShrapnelDSP is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* ShrapnelDSP. If not, see <https://www.gnu.org/licenses/>.
*/

import 'package:test/test.dart';

void main() {
Expand Down

0 comments on commit 5ed04eb

Please sign in to comment.