Add package scaffold

This commit is contained in:
JackFirth 2015-02-20 22:57:39 -08:00
parent 5a1e99c3f3
commit ae4d335b00
6 changed files with 57 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
./compiled/*
./*.bak
./*.html
./*.css
./*.js

18
.travis.yml Normal file
View File

@ -0,0 +1,18 @@
langauge: c
sudo: false
env:
global:
- RACKET_DIR=~/racket
matrix:
- RACKET_VERSION=6.1.1
before_install:
- git clone https://github.com/greghendershott/travis-racket.git ../travis-racket
- cat ../travis-racket/install-racket.sh | bash
- export PATH="${RACKET_DIR}/bin:${PATH}"
install: raco pkg install --deps search-auto $TRAVIS_BUILD_DIR # install dependencies
script:
- raco test $TRAVIS_BUILD_DIR # run tests. you wrote tests, right?
- raco cover -f coveralls -d $TRAVIS_BUILD_DIR/coverage . # generate coverage information for coveralls

View File

@ -0,0 +1,16 @@
#lang scribble/manual
@(require scribble/eval
(for-label doc-coverage
racket/base))
@title{package-name}
@(define the-eval (make-base-eval))
@(the-eval '(require "main.rkt"))
@defmodule[doc-coverage]
@author[@author+email["Jack Firth" "jackhfirth@gmail.com"]]
source code: @url["https://github.com/jackfirth/package-name"]

4
doc-coverage/info.rkt Normal file
View File

@ -0,0 +1,4 @@
#lang info
(define name "doc-coverage")
(define scribblings '(("doc-coverage.scrbl" ())))

6
doc-coverage/main.rkt Normal file
View File

@ -0,0 +1,6 @@
#lang racket
(require)
(provide
(all-from-out))

8
info.rkt Normal file
View File

@ -0,0 +1,8 @@
#lang info
(define collection 'multi)
(define deps '("base" "rackunit-lib"))
(define build-deps '("cover"
"scribble-lib"
"rackunit-lib"
"racket-doc"))