-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update * save * NoWeight->UnitWeight * update * update * update * update * update * update docs * update * fix CUDA test * fix document * fix document * fix doc build
- Loading branch information
Showing
63 changed files
with
783 additions
and
1,092 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,28 @@ | ||
JL = julia --project | ||
|
||
default: init test | ||
|
||
init: | ||
$(JL) -e 'using Pkg; Pkg.precompile()' | ||
init-docs: | ||
$(JL) -e 'using Pkg; Pkg.activate("docs"); Pkg.develop(path="."), Pkg.precompile()' | ||
|
||
update: | ||
$(JL) -e 'using Pkg; Pkg.update(); Pkg.precompile()' | ||
update-docs: | ||
$(JL) -e 'using Pkg; Pkg.activate("docs"); Pkg.update(); Pkg.precompile()' | ||
|
||
test: | ||
$(JL) -e 'using Pkg; Pkg.test("GenericTensorNetworks")' | ||
|
||
coverage: | ||
$(JL) -e 'using Pkg; Pkg.test("GenericTensorNetworks"; coverage=true)' | ||
|
||
serve: | ||
$(JL) -e 'using Pkg; Pkg.activate("docs"); using LiveServer; servedocs(;skip_dirs=["docs/src/assets", "docs/src/generated"], literate_dir="examples")' | ||
|
||
clean: | ||
rm -rf docs/build | ||
find . -name "*.cov" -type f -print0 | xargs -0 /bin/rm -f | ||
|
||
.PHONY: init test coverage serve clean init-docs update update-docs |
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
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
Oops, something went wrong.