Commit 21a83632 authored by Amos Wenger's avatar Amos Wenger

🏆

parent 232323d3
Pipeline #10354 failed with stage
in 8 seconds
stages:
- test
test:windows:
stage: test
tags:
- windows
script:
- scripts/ci.sh
test:darwin:
stage: test
tags:
- darwin
script:
- scripts/ci.sh
test:linux:
stage: test
tags:
- linux
script:
- scripts/ci.sh
MIT LICENSE
Copyright (c) 2016 Amos Wenger
Copyright (c) 2018 Amos Wenger
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
......
.PHONY: all
all:
go get github.com/fasterthanlime/wizardry
go get github.com/itchio/wizardry
wizardry compile ./Magdir --package spellbook --output book.go
go get -v -x
# spellbook
[![build status](https://git.itch.ovh/itchio/spellbook/badges/master/build.svg)](https://git.itch.ovh/itchio/spellbook/commits/master)
[![codecov](https://codecov.io/gh/itchio/spellbook/branch/master/graph/badge.svg)](https://codecov.io/gh/itchio/spellbook)
[![Go Report Card](https://goreportcard.com/badge/github.com/itchio/spellbook)](https://goreportcard.com/report/github.com/itchio/spellbook)
[![GoDoc](https://godoc.org/github.com/itchio/spellbook?status.svg)](https://godoc.org/github.com/itchio/spellbook)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/itchio/spellbook/blob/master/LICENSE)
Spellbook is a set of magic rules (see `Magdir`) compiled
into golang sources files using [wizardry][]
[wizardry]: https://github.com/fasterthanlime/wizardry
[wizardry]: https://github.com/itchio/wizardry
### License
......
// this file has been generated by github.com/fasterthanlime/wizardry
// this file has been generated by github.com/itchio/wizardry
// from a set of magic rules. you probably don't want to edit it by hand
package spellbook
......@@ -6,8 +6,8 @@ package spellbook
import (
"fmt"
"encoding/binary"
"github.com/fasterthanlime/wizardry/wizardry"
"github.com/fasterthanlime/wizardry/wizardry/wizutil"
"github.com/itchio/wizardry/wizardry"
"github.com/itchio/wizardry/wizardry/wizutil"
)
// silence import errors, if we don't use string/search etc.
......
#!/bin/sh -xe
go version
export GOPATH=$PWD/gopath
rm -rf $GOPATH
export PKG=github.com/itchio/spellbook
export PATH=$PATH:$GOPATH/bin
mkdir -p $GOPATH/src/$PKG
rsync -a --exclude 'gopath' . $GOPATH/src/$PKG
go get -v -d -t $PKG/...
go test -v -cover -coverprofile=coverage.txt -race $PKG/...
curl -s https://codecov.io/bash | bash
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment