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
|
||||
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
|
||||
main
|
||||
.gdb_history
|
||||
*.zip
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/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 <cmath>
|
||||
#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
|
||||
#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 <cstdlib>
|
||||
#include "Spigot.hpp"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue