mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 00:08:52 -06:00
Initial public release
This commit is contained in:
31
Makefile
Normal file
31
Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
# UnitCommitment.jl: Optimization Package for Security-Constrained Unit Commitment
|
||||
# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved.
|
||||
# Released under the modified BSD license. See COPYING.md for more details.
|
||||
|
||||
JULIA := julia --color=yes --project=@.
|
||||
MKDOCS := ~/.local/bin/mkdocs
|
||||
SRC_FILES := $(wildcard src/*.jl) $(wildcard test/*.jl)
|
||||
VERSION := 0.1
|
||||
|
||||
build/sysimage.so: src/sysimage.jl Project.toml Manifest.toml
|
||||
mkdir -p build
|
||||
$(JULIA) src/sysimage.jl
|
||||
|
||||
clean:
|
||||
rm -rf build/*
|
||||
|
||||
docs:
|
||||
$(MKDOCS) build -d ../docs/$(VERSION)/
|
||||
rm ../docs/$(VERSION)/*.ipynb
|
||||
|
||||
docs-push:
|
||||
rsync -avP docs/ isoron@axavier.org:/www/axavier.org/projects/UnitCommitment.jl/
|
||||
|
||||
install-deps-docs:
|
||||
pip install --user mkdocs mkdocs-cinder python-markdown-math
|
||||
|
||||
test: build/sysimage.so
|
||||
@echo Running tests...
|
||||
cd test; $(JULIA) --sysimage ../build/sysimage.so runtests.jl | tee ../build/test.log
|
||||
|
||||
.PHONY: docs docs-push build test
|
||||
Reference in New Issue
Block a user