Skip to content
This repository has been archived by the owner on Sep 2, 2019. It is now read-only.

Automate "installation" of the starter kit #1

Open
SeanTAllen opened this issue Sep 10, 2017 · 1 comment
Open

Automate "installation" of the starter kit #1

SeanTAllen opened this issue Sep 10, 2017 · 1 comment

Comments

@SeanTAllen
Copy link
Member

SeanTAllen commented Sep 10, 2017

At the moment, the "installation" of the starter kit is very manual. Ideally, what we want is:

A script that can be run that will prompted the user for:

  • all required values
  • target location to install files

the script will then run and copy over all files from this repo (other than USAGE.md and other "support" files) while replacing the templated values. Additionally, it would create the "{PACKAGE}" directory and install a stub _test.pony file with contents such as:

use "ponytest"

actor Main is TestList
  new create(env: Env) =>
    PonyTest(env, this)

  new make() =>
    None

  fun tag tests(test: PonyTest) =>
    None

Before you start on this issue, ping me where to discuss the proper tooling for doing template replacement and installation.

Ideally, we want to use tool(s) that are ubiquitous such that most people will have them installed (across macOS, Linux, and Windows if possible). Getting all 3 though seems difficult. We might need something for macOS and Linux and then another for Windows.

@SeanTAllen
Copy link
Member Author

Step 1 of this, that I would undertake is using sed to make replacements in Unix environments. However the current "template" scheme that I've done of {VARIABLE} conflicts with ${Foo} from bash, so {VARIABLE} will need to be changed before any autogeneration work can be done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant