-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove bin/make_docs and move it to a Makefile.
- Loading branch information
Showing
3 changed files
with
17 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
VERSION := $(shell cat shard.yml | grep "^version" | cut -d\ -f2) | ||
.PHONY: doc | ||
|
||
doc: bin/gi-crystal | ||
@echo "Generating documentation for Gtk4.cr version $(VERSION)..." | ||
./bin/gi-crystal | ||
# We do this to avoid crystal doc generate links to generated files | ||
echo " " >> LICENSE | ||
crystal doc -s -p --project-name="GTK4.cr" --project-version="$(VERSION)" \ | ||
lib/gi-crystal/src/gi-crystal.cr \ | ||
lib/gi-crystal/src/auto/gtk-4.0/gtk.cr | ||
# Put LICENSE file back | ||
git checkout LICENSE | ||
|
||
bin/gi-crystal: | ||
shards install |
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 was deleted.
Oops, something went wrong.