Remove files
This commit is contained in:
parent
cf66999416
commit
0e6ebb83a1
9 changed files with 1 additions and 90 deletions
55
.github/workflows/build.yml
vendored
55
.github/workflows/build.yml
vendored
|
|
@ -1,55 +0,0 @@
|
|||
name: Github Actions
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
version:
|
||||
- stable
|
||||
- devel
|
||||
|
||||
steps:
|
||||
- name: Checkout repository and submodules
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Cache choosenim
|
||||
id: cache-choosenim
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.choosenim
|
||||
key: ${{ runner.os }}-choosenim-stable
|
||||
|
||||
- name: Cache nimble
|
||||
id: cache-nimble
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.nimble
|
||||
key: ${{ runner.os }}-nimble-stable
|
||||
|
||||
- name: Setup Nim
|
||||
uses: iffy/install-nim@v4.1.3
|
||||
with:
|
||||
version: ${{ matrix.version }}
|
||||
|
||||
- name: Print Nim version
|
||||
run: nim -v
|
||||
- name: Print Nimble version
|
||||
run: nimble -v
|
||||
- name: Nimble build
|
||||
run: nimble build -Y --verbose
|
||||
- name: Run install
|
||||
run: nimble install -Y
|
||||
- name: Run tests
|
||||
run: nimble test -y
|
||||
- name: Run tests orc
|
||||
run: nimble test --mm:orc -y
|
||||
|
|
@ -1,7 +1,2 @@
|
|||
# You can use this nim template to jump start your nim library or project.
|
||||
AOC 2022
|
||||
|
||||
This template includes:
|
||||
* MIT licence
|
||||
* src directory and a private common.nim
|
||||
* test directory
|
||||
* GitHub Actions to run the tests on GitHub
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
## Include an example on how to use your library
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
version = "0.0.0"
|
||||
author = "Your name"
|
||||
description = "Description of your library"
|
||||
license = "MIT"
|
||||
|
||||
srcDir = "src"
|
||||
bin = @["nimtemplate"]
|
||||
|
||||
requires "nim >= 1.2.2"
|
||||
11
rename.bash
11
rename.bash
|
|
@ -1,11 +0,0 @@
|
|||
set -e
|
||||
|
||||
PROJECT_NAME="$1"
|
||||
echo $PROJECT_NAME
|
||||
|
||||
sed -i.bak "s/nimtemplate/$PROJECT_NAME/g" tests/test.nim src/nimtemplate.nim nimtemplate.nimble
|
||||
|
||||
mv src/nimtemplate src/$PROJECT_NAME
|
||||
mv src/nimtemplate.nim src/$PROJECT_NAME.nim
|
||||
|
||||
mv nimtemplate.nimble $PROJECT_NAME.nimble
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
## Public interface to you library.
|
||||
|
||||
import nimtemplate/common
|
||||
|
|
@ -1 +0,0 @@
|
|||
## Add private variables or functions here that you don't want to export.
|
||||
|
|
@ -1 +0,0 @@
|
|||
--path:"../src"
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
## Put your tests here.
|
||||
|
||||
import nimtemplate
|
||||
Loading…
Add table
Add a link
Reference in a new issue