-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
11f3cf3
commit b763f5c
Showing
7 changed files
with
43 additions
and
11 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,23 @@ | ||
all: test format doc rep | ||
|
||
.PHONY: test format doc rep clean | ||
|
||
test: | ||
@echo -e "\e[0;35m\033[1mTesting Julia package...\e[0;30m\033[0m" | ||
@julia --depwarn=yes --project --color=yes -e 'using Pkg; Pkg.test(coverage=true)' | ||
|
||
format: | ||
@echo -e "\e[0;35m\033[1mFormatting Julia package...\e[0;30m\033[0m" | ||
@julia --project --color=yes -e 'using JuliaFormatter; format(".")' | ||
|
||
doc: | ||
@echo -e "\e[0;35m\033[1mMaking Julia documentation...\e[0;30m\033[0m" | ||
@cd docs && julia --project=".." --color=yes make.jl | ||
|
||
rep: | ||
@echo -e "\e[0;35m\033[1mRunning replication files...\e[0;30m\033[0m" | ||
@cd replication && make | ||
|
||
clean: | ||
@echo -e "\e[0;35m\033[1mCleaning up Julia package...\e[0;30m\033[0m" | ||
@rm -r docs/build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
all: | ||
@julia --project=".." --color=yes make_distribution_plot.jl | ||
@julia --project=".." --color=yes make_outcome_plot.jl | ||
@julia --project=".." --color=yes make_table.jl | ||
@julia --project=".." --color=yes make_trade_table.jl | ||
@julia --project=".." --color=yes make_trade_plot.jl | ||
@julia --project=".." --color=yes make_trade_histogram.jl | ||
@julia --project=".." --color=yes make_trade_plot_parametric.jl | ||
@julia --project=".." --color=yes logo.jl |
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.
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,8 @@ | ||
let | ||
pkgs = import <nixpkgs> { }; | ||
in pkgs.mkShell { | ||
buildInputs = with pkgs; [ | ||
julia | ||
python3 | ||
]; | ||
} |