diff --git a/.depend b/.depend index 9ca3c09..2220acb 100644 --- a/.depend +++ b/.depend @@ -1,2 +1,6 @@ main.o: main.cpp Spigot.hpp Spigot.o: Spigot.cpp Spigot.hpp +-Wall +-MM +main.cpp +Spigot.cpp diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..24c30b5 --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,9 @@ +on: [push] +jobs: + build: + runs-on: poseidon-runner + steps: + - name: checkout + uses: actions/checkout@v4 + - run: make + - run: time ./main \ No newline at end of file diff --git a/.gitignore b/.gitignore index a53295d..580852f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ cfg/ *.txt main .gdb_history +*.zip # Created by https://www.toptal.com/developers/gitignore/api/c++ # Edit at https://www.toptal.com/developers/gitignore?templates=c++ diff --git a/Spigot.cpp b/Spigot.cpp index 2ddc522..89bf4a9 100644 --- a/Spigot.cpp +++ b/Spigot.cpp @@ -1,3 +1,9 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + */ + #include #include #include diff --git a/Spigot.hpp b/Spigot.hpp index 88908f1..e88613f 100644 --- a/Spigot.hpp +++ b/Spigot.hpp @@ -1,3 +1,9 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + */ + #ifndef Spigot_h #define Spigot_h diff --git a/main.cpp b/main.cpp index baa1e83..c818f31 100644 --- a/main.cpp +++ b/main.cpp @@ -1,3 +1,9 @@ +/* + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at https://mozilla.org/MPL/2.0/. + */ + #include #include #include "Spigot.hpp"