Skip to content

Commit

Permalink
update license header
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Sep 13, 2023
1 parent b31e330 commit fb9bf09
Show file tree
Hide file tree
Showing 22 changed files with 79 additions and 80 deletions.
6 changes: 2 additions & 4 deletions .ci/build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#!/usr/bin/env bash
#
# Copyright 2020-2022 by Vegard IT GmbH, Germany, https://vegardit.com
# SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
# SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
# SPDX-License-Identifier: Apache-2.0
#
# @author Sebastian Thomschke, Vegard IT GmbH

set -e # abort script at first error
set -o pipefail # causes a pipeline to return the exit status of the last command in the pipe that returned a non-zero return value
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Copyright 2020-2022 by Vegard IT GmbH, Germany, https://vegardit.com
# SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
# SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
# SPDX-License-Identifier: Apache-2.0
#
# Author: Sebastian Thomschke, Vegard IT GmbH
#
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: Build

on:
Expand Down
9 changes: 5 additions & 4 deletions example/bin/main.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
* Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
/*
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
library;

import 'dart:async';

import 'package:hotreloader_example/src/utils.dart';
Expand Down
9 changes: 5 additions & 4 deletions example/bin/main_dev.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
* Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
/*
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
library;

import 'dart:io' as io;
import 'dart:isolate';

Expand Down
9 changes: 5 additions & 4 deletions example/dummylib_v1/lib/dummylib.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
* Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
/*
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
library;

String getVersion() {
return 'v1';
}
9 changes: 5 additions & 4 deletions example/dummylib_v2/lib/dummylib.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
* Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
/*
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
library;

String getVersion() {
return 'v2';
}
9 changes: 5 additions & 4 deletions example/lib/src/utils.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
* Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
/*
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
library;

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

int _counter = 0;
Expand Down
5 changes: 2 additions & 3 deletions example/tool/run.cmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@echo off
:: Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
:: SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
:: SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
:: SPDX-License-Identifier: Apache-2.0
::
:: @author Sebastian Thomschke, Vegard IT GmbH

if "%1" == "--help" goto :display_help
if "%1" == "/?" goto :display_help
Expand Down
5 changes: 2 additions & 3 deletions example/tool/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/usr/bin/env bash
# Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
# SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
# SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
# SPDX-License-Identifier: Apache-2.0
#
# @author Sebastian Thomschke, Vegard IT GmbH

if [ "$1" == "--help" ]; then
echo "Runs the application in development mode with hot reload enabled."
Expand Down
9 changes: 5 additions & 4 deletions lib/hotreloader.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
* Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
/*
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
library;

import 'dart:async';
import 'dart:convert' as convert;
import 'dart:io' as io;
Expand Down
9 changes: 5 additions & 4 deletions lib/src/util/docker.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
* Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
/*
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
library;

import 'dart:convert' as convert;
import 'dart:io';

Expand Down
8 changes: 4 additions & 4 deletions lib/src/util/files.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
/*
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
library;

import 'dart:convert' as convert;
import 'dart:io' as io;
Expand Down
9 changes: 5 additions & 4 deletions lib/src/util/pub.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
* Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
/*
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
library;

import 'dart:io' as io;
import 'dart:isolate' as isolate;
import 'package:path/path.dart' as p;
Expand Down
8 changes: 4 additions & 4 deletions lib/src/util/strings.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
/*
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
library;

String substringAfter(final String searchIn, final String searchFor) {
if (searchIn.isEmpty) {
Expand Down
9 changes: 5 additions & 4 deletions lib/src/util/vm.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
* Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
/*
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
library;

import 'dart:developer' as dev;

import 'package:vm_service/utils.dart' as vms_utils;
Expand Down
9 changes: 5 additions & 4 deletions test/hotreloader_test.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/**
* Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
/*
* SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
* SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
* SPDX-License-Identifier: Apache-2.0
*
* @author Sebastian Thomschke, Vegard IT GmbH
*/
library;

import 'dart:async';
import 'dart:io' as io;
import 'dart:isolate';
Expand Down
5 changes: 2 additions & 3 deletions tool/checkstyle.cmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@echo off
:: Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
:: SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
:: SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
:: SPDX-License-Identifier: Apache-2.0
::
:: @author Sebastian Thomschke, Vegard IT GmbH

if "%1" == "--help" goto :display_help
if "%1" == "/?" goto :display_help
Expand Down
5 changes: 2 additions & 3 deletions tool/checkstyle.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/usr/bin/env bash
# Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
# SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
# SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
# SPDX-License-Identifier: Apache-2.0
#
# @author Sebastian Thomschke, Vegard IT GmbH

if [ "$1" == "--help" ]; then
echo "Checks the source code against coding guidelines."
Expand Down
5 changes: 2 additions & 3 deletions tool/format-code.cmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@echo off
:: Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
:: SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
:: SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
:: SPDX-License-Identifier: Apache-2.0
::
:: @author Sebastian Thomschke, Vegard IT GmbH

if "%1" == "--help" goto :display_help
if "%1" == "/?" goto :display_help
Expand Down
5 changes: 2 additions & 3 deletions tool/format-code.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/usr/bin/env bash
# Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
# SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
# SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
# SPDX-License-Identifier: Apache-2.0
#
# @author Sebastian Thomschke, Vegard IT GmbH

if [ "$1" == "--help" ]; then
echo "Formats the source code."
Expand Down
5 changes: 2 additions & 3 deletions tool/test.cmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
@echo off
:: Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
:: SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
:: SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
:: SPDX-License-Identifier: Apache-2.0
::
:: @author Sebastian Thomschke, Vegard IT GmbH

if "%1" == "--help" goto :display_help
if "%1" == "/?" goto :display_help
Expand Down
5 changes: 2 additions & 3 deletions tool/test.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/usr/bin/env bash
# Copyright 2020-2022 by Vegard IT GmbH (https://vegardit.com) and contributors.
# SPDX-FileCopyrightText: © Vegard IT GmbH (https://vegardit.com) and contributors
# SPDX-FileContributor: Sebastian Thomschke, Vegard IT GmbH
# SPDX-License-Identifier: Apache-2.0
#
# @author Sebastian Thomschke, Vegard IT GmbH

if [ "$1" == "--help" ]; then
echo "Executes the test cases of test/hotreloader_test.dart"
Expand Down

0 comments on commit fb9bf09

Please sign in to comment.