Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Fix build.jl #76

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions build.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Pkg

Pkg.instantiate()
srcpath = joinpath(@__DIR__(), "Courses")
buildpath = joinpath(@__DIR__(), "Notebooks")

Expand All @@ -22,6 +23,8 @@ for dir in courses
cp(src_course, build_course; force=true)

Pkg.activate(build_course)
Pkg.add(Pkg.PackageSpec(url="https://github.com/JuliaAcademy/JuliaAcademyData.jl.git"))
Pkg.resolve()
test = false
Pkg.instantiate()
for file in readdir(build_course)
Expand Down