Skip to content

Commit

Permalink
Rename lib/ folder to src/ (Roblox#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
LPGhatguy authored Jan 21, 2020
1 parent 185d71c commit 9af210c
Show file tree
Hide file tree
Showing 21 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .luacov
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
return {
include = {
"^lib",
"^src",
},
exclude = {
"%.spec$",
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ install:
- luarocks install luacheck

script:
- luacheck lib
- luacheck src
- lua -lluacov test/lemur.lua

after_success:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,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 RoactRodux source.
From the command line, just run `luacheck src` to check the RoactRodux 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": "RoactRodux",
"tree": {
"$path": "lib"
"$path": "src"
}
}
2 changes: 1 addition & 1 deletion docs/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ First, install [Roact](https://github.com/Roblox/Roact) and [Rodux](https://gith
* Insert the model into Studio into a place like `ReplicatedStorage`

### Method 2: Rojo
* Copy the `lib` directory into your codebase
* Copy the `src` directory into your codebase
* Rename the folder to `RoactRodux`
* Use [Rojo](https://github.com/LPGhatguy/rojo) to sync the files into a place
2 changes: 1 addition & 1 deletion rotriever.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "roblox/roact-rodux"
author = "Roblox"
license = "Apache-2.0"
content_root = "lib"
content_root = "src"
version = "0.2.0"

[dependencies]
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.
2 changes: 1 addition & 1 deletion test-place.project.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"$className": "ReplicatedStorage",

"RoactRodux": {
"$path": "lib"
"$path": "src"
},

"Roact": {
Expand Down
2 changes: 1 addition & 1 deletion test/lemur.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

-- If you add any dependencies, add them to this table so they'll be loaded!
local LOAD_MODULES = {
{"lib", "RoactRodux"},
{"src", "RoactRodux"},
{"modules/rodux/lib", "Rodux"},
{"modules/roact/lib", "Roact"},
{"modules/testez/lib", "TestEZ"},
Expand Down

0 comments on commit 9af210c

Please sign in to comment.