From 36fd3f4ae6a5df3f954a5f2a28375dec6c2bb002 Mon Sep 17 00:00:00 2001 From: Dantali0n <info@dantalion.nl> Date: Fri, 7 Jul 2023 10:18:06 +0200 Subject: [PATCH] Small cleanup --- hooks/post_gen_project.sh | 6 +++--- {{cookiecutter.project_slug}}/.gitignore | 2 +- {{cookiecutter.project_slug}}/.gitlab-ci.yml | 10 ---------- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/hooks/post_gen_project.sh b/hooks/post_gen_project.sh index ab6593d..3e5640e 100644 --- a/hooks/post_gen_project.sh +++ b/hooks/post_gen_project.sh @@ -1,7 +1,7 @@ #!/bin/bash git init +git submodule add https://github.com/LecrisUT/CMakeExtraUtils.git cmake/cmake-extra-utils git add --all -git commit -m "initial commit" --author="Lukken <lukken@astron.nl>" --no-edit -git tag v0.0.1 -git submodule add https://github.com/LecrisUT/CMakeExtraUtils.git cmake/cmake-extra-utils \ No newline at end of file +git commit -m "initial commit" --no-edit +git tag v0.0.1 \ No newline at end of file diff --git a/{{cookiecutter.project_slug}}/.gitignore b/{{cookiecutter.project_slug}}/.gitignore index 045812e..5513c1b 100644 --- a/{{cookiecutter.project_slug}}/.gitignore +++ b/{{cookiecutter.project_slug}}/.gitignore @@ -10,7 +10,7 @@ htmlcov/* .tox # setuptools-scm -src/python_binary_wheel/_version.py +src/{{cookiecutter.project_slug}}/_version.py # IDE configuration .vscode diff --git a/{{cookiecutter.project_slug}}/.gitlab-ci.yml b/{{cookiecutter.project_slug}}/.gitlab-ci.yml index 6101bbb..0632a23 100644 --- a/{{cookiecutter.project_slug}}/.gitlab-ci.yml +++ b/{{cookiecutter.project_slug}}/.gitlab-ci.yml @@ -80,16 +80,6 @@ run_unit_tests_coverage: package_files: stage: package image: python:3.8 - # make a docker daemon available for cibuildwheel to use -# services: -# - name: docker:dind -# entrypoint: [ "env", "-u", "DOCKER_HOST" ] -# command: [ "dockerd-entrypoint.sh" ] -# variables: -# DOCKER_HOST: tcp://docker:2375/ -# DOCKER_DRIVER: overlay2 -# # See https://github.com/docker-library/docker/pull/166 -# DOCKER_TLS_CERTDIR: "" artifacts: expire_in: 1w paths: -- GitLab