Skip to content

Commit

Permalink
create package
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoegel committed Aug 25, 2022
1 parent 0d2c84c commit 97a3025
Show file tree
Hide file tree
Showing 10 changed files with 71 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
@@ -1 +1,7 @@
build

debian/.debhelper
debian/chestnut*
debian/debhelper*
debian/files
obj-x86_64-linux-gnu
9 changes: 9 additions & 0 deletions CMakeLists.txt
@@ -0,0 +1,9 @@
cmake_minimum_required(VERSION 3.22)

project(fwoop)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

enable_testing()
add_subdirectory(chestnut)
23 changes: 23 additions & 0 deletions README.md
@@ -1 +1,24 @@
# Chestnut

## Building
Requires `fwoop`. Requires `gtest` to build unit tests.

```sh
mkdir build
cd build
cmake ../
cmake --build .
```

### Testing
```sh
cd build
ctest
```

## Release
```sh
dch -v <version> -M
debuilder -us -uc
gh release create
```
5 changes: 5 additions & 0 deletions chestnut/CMakeLists.txt
@@ -0,0 +1,5 @@
add_executable(chestnut
chestnut.m.cpp
)
target_include_directories(chestnut PUBLIC .)
target_link_libraries(chestnut pthread)
7 changes: 7 additions & 0 deletions chestnut/chestnut.m.cpp
@@ -0,0 +1,7 @@
#include <iostream>

int main(int argc, char* argv[])
{
std::cout << "hello\n";
return 0;
}
5 changes: 5 additions & 0 deletions debian/changelog
@@ -0,0 +1,5 @@
chestnut (0.1.0) UNRELEASED; urgency=medium

* Initial release

-- Matt Poegel <poe@penguin> Wed, 24 Aug 2022 21:13:12 -0400
1 change: 1 addition & 0 deletions debian/compat
@@ -0,0 +1 @@
13
11 changes: 11 additions & 0 deletions debian/control
@@ -0,0 +1,11 @@
Source: chestnut
Section: unknown
Priority: optional
Maintainer: Matt Poegel <poe@penguin>
Build-Depends: debhelper
Standards-Version: 4.0.0

Package: chestnut
Architecture: any
Depends:
Description: american chestnut trees
Empty file added debian/copyright
Empty file.
4 changes: 4 additions & 0 deletions debian/rules
@@ -0,0 +1,4 @@
#! /usr/bin/make -f

%:
dh $@

0 comments on commit 97a3025

Please sign in to comment.