-
Notifications
You must be signed in to change notification settings - Fork 3
/
makefile
44 lines (31 loc) · 979 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
REPOSITORY=https://github.com/detrin/OpenQuantumSystems.jl
install_dev:
julia -e 'using Pkg; Pkg.add(path="/Users/danielherman/Documents/Mgr/OpenQuantumSystems/OpenQuantumSystems.jl")'
install_dev2:
julia -e 'using Pkg; Pkg.develop(PackageSpec(path="/Users/danielherman/Documents/Mgr/OpenQuantumSystems/OpenQuantumSystems.jl"))'
remove:
julia -e 'using Pkg; Pkg.rm("OpenQuantumSystems")'
tests:
julia --project -e 'using Pkg; Pkg.build(); Pkg.test()'
tests_dev:
julia test/runtests_dev.jl
test_quantarhei:
julia test/hamiltonian.jl
cd test; docker-compose up --build
update_devel:
git checkout master
git pull
git checkout devel
git merge master
git_update_master:
git fetch upstream
git checkout master
git merge upstream/master
git_add_upstream:
git remote add upstream ${REPOSITORY}
benchmark:
julia test/benchmark.jl | tee Benchmarks.md
format:
julia -e 'using JuliaFormatter; format(".")'
docs_generate:
julia --project=docs docs/make.jl local