Skip to content

Commit

Permalink
Fix a build error on ./gradlew site
Browse files Browse the repository at this point in the history
  • Loading branch information
trustin committed Apr 28, 2019
1 parent c9964d1 commit dbe6eaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pluginBundle {
}

task site(type: JavaExec, dependsOn: tasks.check) {
inputs.dir "${project.projectDir}/src/sphinx"
inputs.dir "${project.projectDir}/src/site/sphinx"
outputs.dir "${project.buildDir}/site"
classpath sourceSets.test.runtimeClasspath
main 'kr.motd.gradle.sphinx.SiteMain'
Expand Down
2 changes: 1 addition & 1 deletion src/site/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# Ensure we can load a YAML file.
with open('test.yaml', 'r') as stream:
test_yaml = yaml.load(stream)
test_yaml = yaml.load(stream, Loader=yaml.FullLoader)
assert test_yaml[0] == 'a'
assert test_yaml[1] == 'b'
assert test_yaml[2] == 'c'
Expand Down

0 comments on commit dbe6eaa

Please sign in to comment.