This commit is contained in:
parent
4f738e5609
commit
5a4147b750
6 changed files with 32 additions and 0 deletions
4
.depend
4
.depend
|
@ -1,2 +1,6 @@
|
||||||
main.o: main.cpp Spigot.hpp
|
main.o: main.cpp Spigot.hpp
|
||||||
Spigot.o: Spigot.cpp Spigot.hpp
|
Spigot.o: Spigot.cpp Spigot.hpp
|
||||||
|
-Wall
|
||||||
|
-MM
|
||||||
|
main.cpp
|
||||||
|
Spigot.cpp
|
||||||
|
|
9
.forgejo/workflows/build.yaml
Normal file
9
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: poseidon-runner
|
||||||
|
steps:
|
||||||
|
- name: checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- run: make
|
||||||
|
- run: time ./main
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@ cfg/
|
||||||
*.txt
|
*.txt
|
||||||
main
|
main
|
||||||
.gdb_history
|
.gdb_history
|
||||||
|
*.zip
|
||||||
# Created by https://www.toptal.com/developers/gitignore/api/c++
|
# Created by https://www.toptal.com/developers/gitignore/api/c++
|
||||||
# Edit at https://www.toptal.com/developers/gitignore?templates=c++
|
# Edit at https://www.toptal.com/developers/gitignore?templates=c++
|
||||||
|
|
||||||
|
|
|
@ -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 <iostream>
|
#include <iostream>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -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
|
#ifndef Spigot_h
|
||||||
#define Spigot_h
|
#define Spigot_h
|
||||||
|
|
||||||
|
|
6
main.cpp
6
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 <iostream>
|
#include <iostream>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include "Spigot.hpp"
|
#include "Spigot.hpp"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue