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

Commit

Permalink
Rename lib/ folder to src/ (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
LPGhatguy authored Jan 21, 2020
1 parent 5fa229b commit 2187a18
Show file tree
Hide file tree
Showing 22 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ install:
- luarocks install luacheck

script:
- luacheck lib tests
- luacheck src tests
- lua spec.lua
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Add a line under the "Current master" heading. When we make a new release, all o
### Luacheck
We use [Luacheck](https://github.com/mpeterv/luacheck) for static analysis of Lua on all of our projects.

From the command line, just run `luacheck lib` to check the TestEZ source.
From the command line, just run `luacheck src` to check the TestEZ source.

You should get it working on your system, and then get a plugin for the editor you use. There are plugins available for most popular editors!

Expand Down
2 changes: 1 addition & 1 deletion default.project.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "TestEZ",
"tree": {
"$path": "lib"
"$path": "src"
}
}
2 changes: 1 addition & 1 deletion docs/getting-started/installation.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
*In the future, TestEZ will have pre-built model files for use within Roblox without other tools.*

### Method 1: Rojo (Roblox)
* Copy the `lib` directory into your codebase
* Copy the `src` directory into your codebase
* Rename the folder to `TestEZ`
* Use [Rojo](https://github.com/LPGhatguy/rojo) to sync the files into a place

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/running-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TestEZ provides a convenient method to run tests in a single pass:
```lua
local TestEZ = require(<path to TestEZ>)

TestEZ.TestBootstrap:run(MY_TESTS)
TestEZ.TestBootstrap:run({ MY_TESTS })
```

The method also returns information about the test run that can be used to take further action!
Expand Down
2 changes: 1 addition & 1 deletion rotriever.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
name = "roblox/testez"
author = "Roblox"
license = "Apache2"
content_root = "lib"
content_root = "src"
version = "0.1.0"
2 changes: 1 addition & 1 deletion spec.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local LOAD_MODULES = {
{"lib", "TestEZ"},
{"src", "TestEZ"},
{"tests", "TestEZTests"},
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2187a18

Please sign in to comment.