Github user scmbuildguy commented on a diff in the pull request:

    https://github.com/apache/geode-site/pull/1#discussion_r103041344
  
    --- Diff: build.gradle ---
    @@ -16,10 +16,50 @@
      */
     
     plugins {
    -  id "org.nosphere.apache.rat" version "0.3.0"
    +  id 'org.nosphere.apache.rat' version '0.3.0'
    +  id 'org.ajoberstar.grgit' version '1.6.0'
     }
     
    -apply plugin: "org.nosphere.apache.rat"
    +apply plugin: 'org.ajoberstar.grgit'
    +
    +task clean << {
    +  delete buildDir
    +}
    +
    +def dockerCmd = "docker run -v '${projectDir}':/geode-site -p 3000:3000 -w 
/geode-site/website apachegeode/geode-site-build "
    +
    +task compile(type:Exec, dependsOn: rat) {
    +  inputs.dir "${projectDir}/website"
    +  outputs.dir "${buildDir}/content"
    +  executable 'bash'
    +  args "-c", dockerCmd + "nanoc compile"
    +}
    +
    +task view(type:Exec, dependsOn: compile) {
    +  executable 'bash'
    +  args "-c", dockerCmd + "nanoc view"
    +}
    +
    +task publish(dependsOn: compile) {
    --- End diff --
    
    Sounds good.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to