-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
72 additions
and
10 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
############################################################################### | ||
# name: makefile | ||
# desc: CK Doc / API Reference generation for ChucK programming language | ||
# | ||
# ChucK website: https://chuck.stanford.edu/ | ||
# source repository: https://github.com/ccrma/chuck/ | ||
# | ||
# currently live API Reference: | ||
# API Reference: https://chuck.stanford.edu/doc/reference/ | ||
############################################################################### | ||
|
||
all: ckdoc | ||
|
||
############################## RUN UNIT TEST ################################## | ||
ckdoc: | ||
ifneq (,$(wildcard ../../chuck ../../chuck.exe)) | ||
@echo "generating ChucK API reference using ckdoc..." | ||
../../chuck gen-all.ck | ||
else | ||
@echo "no chuck executable found in 'src/'...(hint: make in 'src/')" | ||
endif | ||
|
||
|
||
############################## CLEAN UP ####################################### | ||
clean: | ||
@echo "removing generated API reference files..." | ||
@rm -f *.css *.html *.json |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
############################################################################### | ||
# name: makefile | ||
# desc: unit testing for ChucK programming language | ||
# | ||
# ChucK website: https://chuck.stanford.edu/ | ||
# source repository: https://github.com/ccrma/chuck/ | ||
############################################################################### | ||
|
||
all: test | ||
|
||
|
||
############################## RUN UNIT TEST ################################## | ||
test: | ||
ifneq (,$(wildcard ../chuck ../chuck.exe)) | ||
./test.py ../chuck . | ||
else | ||
@echo "no chuck executable found in 'src/'...(hint: make in 'src/')" | ||
endif | ||
|
||
|
||
############################## CLEAN UP ####################################### | ||
clean: | ||
@echo "removing generated test files..." | ||
@rm -f 03-Modules/01-file-io.bin 03-Modules/08-write-read-op.txt \ | ||
03-Modules/09-write-output.txt 03-Modules/file.bin \ |