File tree 4 files changed +9
-9
lines changed
4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ coverage/
10
10
/Makefile.local
11
11
all_spec
12
12
/tmp
13
- /doc /
13
+ /docs /
14
14
/src /llvm /ext /llvm_ext.o
15
15
/src /llvm /ext /llvm_ext.dwo
16
16
/src /ext /* .o
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ The [standard library documentation](https://crystal-lang.org/api/) is on the co
81
81
There is a version updated with every push to the master branch [ here] ( https://crystal-lang.org/api/master/ ) .
82
82
It uses a subset of [ Markdown] ( http://daringfireball.net/projects/markdown/ ) . You can [ use Ruby as a source
83
83
of inspiration] ( https://twitter.com/yukihiro_matz/status/549317901002342400 ) whenever applicable. To generate
84
- the docs execute ` make doc ` . Please follow the guidelines described in our
84
+ the docs execute ` make docs ` . Please follow the guidelines described in our
85
85
[ language documentation] ( https://crystal-lang.org/docs/conventions/documenting_code.html ) , like the use of the third person.
86
86
87
87
### The standard library
Original file line number Diff line number Diff line change @@ -88,9 +88,9 @@ std_spec: $(O)/std_spec ## Run standard library specs
88
88
compiler_spec : $(O ) /compiler_spec # # Run compiler specs
89
89
$(O ) /compiler_spec $(SPEC_FLAGS )
90
90
91
- .PHONY : doc
92
- doc : # # Generate standard library documentation
93
- $(BUILD_PATH ) ./bin/crystal doc src/docs_main.cr
91
+ .PHONY : docs
92
+ docs : # # Generate standard library documentation
93
+ $(BUILD_PATH ) ./bin/crystal docs src/docs_main.cr
94
94
95
95
.PHONY : crystal
96
96
crystal : $(O ) /crystal # # Build the compiler
Original file line number Diff line number Diff line change @@ -84,19 +84,19 @@ prepare_system() {
84
84
85
85
build () {
86
86
with_build_env ' make std_spec clean'
87
- with_build_env ' make crystal std_spec compiler_spec doc '
87
+ with_build_env ' make crystal std_spec compiler_spec docs '
88
88
with_build_env ' find samples -name "*.cr" | xargs -L 1 ./bin/crystal build --no-codegen'
89
89
with_build_env ' ./bin/crystal tool format --check samples spec src'
90
90
}
91
91
92
92
deploy () {
93
93
export CURRENT_TAG=` git describe --tags --exact-match 2> /dev/null`
94
94
export GIT_VERSION=` git describe --tags --long --always 2> /dev/null`
95
- on_deploy ' echo $GIT_VERSION > doc /revision.txt'
95
+ on_deploy ' echo $GIT_VERSION > docs /revision.txt'
96
96
97
- on_deploy aws s3 sync doc / s3://crystal-api/api/$TRAVIS_BRANCH
97
+ on_deploy aws s3 sync docs / s3://crystal-api/api/$TRAVIS_BRANCH
98
98
99
- on_deploy on_tag aws s3 sync doc / s3://crystal-api/api/$CURRENT_TAG
99
+ on_deploy on_tag aws s3 sync docs / s3://crystal-api/api/$CURRENT_TAG
100
100
cat - > .aws-config << EOF
101
101
{
102
102
"IndexDocument": {
You can’t perform that action at this time.
0 commit comments