0.11.0 • Published 4 years ago
starters v0.11.0
Starters
Wouldn't it be nice if we didn't have to mess around with tooling to try ideas out?
A node package that gives you the start of a new project with unit tests in many different languages.
Currently we support:
- clojure
- cplusplus (c++)
- csharp
- go
- java
- kotlin
- javascript (node / js)
- php
- python
- ruby
- rust
- scala
- typescript (ts)
Install
$ npm install --global starters
or without installation
$ npx starters
Example
$ npx starters python
STARTERS Copied new python project to /private/tmp/python_project
$ cd python_project
$ tree
.
├── runTests.sh
└── starter.py
0 directories, 2 files
$ ./runTests.sh
.
----------------------------------------------------------------------
Ran 1 test in 0.000s
OK
CLI
$ starters <language>
Usage
$ starters
Examples
$ starters ts
Copied new ts project to /tmp/ts_project
How to add a new language
We'd appreciate any new language that you can provide. To do this:
- Create a new folder under
available
and add your source tree. - Make sure a
runTests.sh
exists in your new folder- Assume the standard tools are already installed for the language
- The programme shouldn't watch, it should run and exist cleanly
- The user shouldn't have to do anything else to make the script pass
- Add the language in
source/supported.ts
And to test it...
- Add the language to
supported
inendToEndTest.sh
- Add any required tooling to the
e2e/Dockerfile
. The tests run inside this Docker container - Run the
endToEndTest.sh
and make sure it finishes
0.11.0
4 years ago
0.10.0
4 years ago
0.9.0
4 years ago
0.8.0
4 years ago
0.7.0
4 years ago
0.6.0
5 years ago
0.5.0
5 years ago
0.4.0
5 years ago
0.3.0
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.0
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago