Package limelight.io

Examples of limelight.io.Templater.file()


    String projectName = fs().filename(projectPath);
    Templater templater = createTemplater(fs().parentPath(projectPath));

    templater.addToken("LLP_NAME", projectName);

    templater.file(fs().join(projectName, "features/step_definitions/limelight_steps.rb"), "features/step_definitions/limelight_steps.rb.template");
    templater.file(fs().join(projectName, "features/support/env.rb"), "features/support/env.rb.template");
    templater.file(fs().join(projectName, "Rakefile"), "project/Rakefile.template");

    createProduction(templater, fs().join(projectName, "production"), projectName, sceneName, testsPath);
  }
View Full Code Here


    Templater templater = createTemplater(fs().parentPath(projectPath));

    templater.addToken("LLP_NAME", projectName);

    templater.file(fs().join(projectName, "features/step_definitions/limelight_steps.rb"), "features/step_definitions/limelight_steps.rb.template");
    templater.file(fs().join(projectName, "features/support/env.rb"), "features/support/env.rb.template");
    templater.file(fs().join(projectName, "Rakefile"), "project/Rakefile.template");

    createProduction(templater, fs().join(projectName, "production"), projectName, sceneName, testsPath);
  }
View Full Code Here

    templater.addToken("LLP_NAME", projectName);

    templater.file(fs().join(projectName, "features/step_definitions/limelight_steps.rb"), "features/step_definitions/limelight_steps.rb.template");
    templater.file(fs().join(projectName, "features/support/env.rb"), "features/support/env.rb.template");
    templater.file(fs().join(projectName, "Rakefile"), "project/Rakefile.template");

    createProduction(templater, fs().join(projectName, "production"), projectName, sceneName, testsPath);
  }

  private void createProduction(Map<String, String> args)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.