-
-
Save benknoble/239814f37c38f7f1fc0c5c8ff79e4f6f to your computer and use it in GitHub Desktop.
scribble defmodulelang duplicate tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang info | |
(define collection "dupe-tag") | |
(define deps '("base")) | |
(define build-deps '("scribble-lib" "racket-doc" "rackunit-lib")) | |
(define scribblings '(("scribblings/dupe-tag-doc.scrbl" (multi-page)) | |
("scribblings/dupe-tag-lang.scrbl"))) | |
(define pkg-desc "Description Here") | |
(define version "0.0") | |
(define pkg-authors '(benknoble)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Linking current directory as a package | |
raco setup: version: 8.2 | |
raco setup: platform: x86_64-macosx [cs] | |
raco setup: target machine: ta6osx | |
raco setup: installation name: 8.2 | |
raco setup: variants: cs | |
raco setup: main collects: /Applications/Racket v8.2/collects/ | |
raco setup: collects paths: | |
raco setup: /Users/USERNAME/Library/Racket/8.2/collects | |
raco setup: /Applications/Racket v8.2/collects/ | |
raco setup: main pkgs: /Applications/Racket v8.2/share/pkgs | |
raco setup: pkgs paths: | |
raco setup: /Applications/Racket v8.2/share/pkgs | |
raco setup: /Users/USERNAME/Library/Racket/8.2/pkgs | |
raco setup: links files: | |
raco setup: /Applications/Racket v8.2/share/links.rktd | |
raco setup: /Users/USERNAME/Library/Racket/8.2/links.rktd | |
raco setup: main docs: /Applications/Racket v8.2/doc | |
raco setup: --- updating info-domain tables --- [11:54:41] | |
raco setup: updating: /Users/USERNAME/Library/Racket/8.2/share/info-cache.rktd | |
raco setup: --- pre-installing collections --- [11:54:41] | |
raco setup: --- installing foreign libraries --- [11:54:41] | |
raco setup: --- installing shared files --- [11:54:41] | |
raco setup: --- compiling collections --- [11:54:41] | |
raco setup: --- parallel build using 8 jobs --- [11:54:41] | |
raco setup: 7 making: <pkgs>/dupe-tag | |
raco setup: 7 making: <pkgs>/dupe-tag/scribblings | |
raco setup: --- creating launchers --- [11:54:44] | |
raco setup: --- installing man pages --- [11:54:44] | |
raco setup: --- building documentation --- [11:54:44] | |
raco setup: 5 running: <pkgs>/dupe-tag/scribblings/dupe-tag-lang.scrbl | |
raco setup: 0 running: <pkgs>/dupe-tag/scribblings/dupe-tag-doc.scrbl | |
raco setup: WARNING: duplicate tag: (index-entry (mod-path "dupe-tag/lang")) | |
raco setup: in: /Users/USERNAME/code/dupe-tag/scribblings/dupe-tag-lang.scrbl | |
raco setup: in: /Users/USERNAME/code/dupe-tag/scribblings/dupe-tag-doc.scrbl | |
raco setup: WARNING: duplicate tag: (mod-path "dupe-tag/lang") | |
raco setup: in: /Users/USERNAME/code/dupe-tag/scribblings/dupe-tag-lang.scrbl | |
raco setup: in: /Users/USERNAME/code/dupe-tag/scribblings/dupe-tag-doc.scrbl | |
raco setup: 5 rendering: <pkgs>/dupe-tag/scribblings/dupe-tag-doc.scrbl | |
raco setup: 4 rendering: <pkgs>/dupe-tag/scribblings/dupe-tag-lang.scrbl | |
raco setup: 3 rendering: <pkgs>/racket-index/scribblings/main/user/local-redirect.scrbl | |
raco setup: 2 rendering: <pkgs>/racket-index/scribblings/main/user/release.scrbl | |
raco setup: 1 rendering: <pkgs>/racket-index/scribblings/main/user/search.scrbl | |
raco setup: 0 rendering: <pkgs>/racket-index/scribblings/main/user/start.scrbl | |
raco setup: --- installing collections --- [11:54:57] | |
raco setup: --- post-installing collections --- [11:54:57] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang racket/base | |
(module+ test | |
(require rackunit)) | |
;; Notice | |
;; To install (from within the package directory): | |
;; $ raco pkg install | |
;; To install (once uploaded to pkgs.racket-lang.org): | |
;; $ raco pkg install <<name>> | |
;; To uninstall: | |
;; $ raco pkg remove <<name>> | |
;; To view documentation: | |
;; $ raco docs <<name>> | |
;; | |
;; For your convenience, we have included LICENSE-MIT and LICENSE-APACHE files. | |
;; If you would prefer to use a different license, replace those files with the | |
;; desired license. | |
;; | |
;; Some users like to add a `private/` directory, place auxiliary files there, | |
;; and require them in `main.rkt`. | |
;; | |
;; See the current version of the racket style guide here: | |
;; http://docs.racket-lang.org/style/index.html | |
;; Code here | |
(module+ test | |
;; Any code in this `test` submodule runs when this file is run using DrRacket | |
;; or with `raco test`. The code here does not run when this file is | |
;; required by another module. | |
(check-equal? (+ 2 2) 4)) | |
(module+ main | |
;; (Optional) main submodule. Put code here if you need it to be executed when | |
;; this file is run using DrRacket or the `racket` executable. The code here | |
;; does not run when this file is required by another module. Documentation: | |
;; http://docs.racket-lang.org/guide/Module_Syntax.html#%28part._main-and-test%29 | |
(require racket/cmdline) | |
(define who (box "world")) | |
(command-line | |
#:program "my-program" | |
#:once-each | |
[("-n" "--name") name "Who to say hello to" (set-box! who name)] | |
#:args () | |
(printf "hello ~a~n" (unbox who)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang scribble/manual | |
@require[@for-label[dupe-tag | |
racket/base]] | |
@title{dupe-tag} | |
@defmodule[dupe-tag] | |
Package Description Here | |
@(table-of-contents) | |
@include-section{dupe-tag-lang.scrbl} | |
@(index-section) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#lang scribble/manual | |
@require[@for-label[dupe-tag | |
racket/base]] | |
@title{dupe-tag langs} | |
@defmodulelang[dupe-tag/lang] | |
Package Description Here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment