Skip to content

Commit

Permalink
src/doc/commands/templates: move commands_json to json_commands
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Terrasa <[email protected]>
  • Loading branch information
Morriar committed Jun 22, 2018
1 parent cb3d91d commit adead3b
Show file tree
Hide file tree
Showing 34 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/doc/api/api_base.nit
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import popcorn::pop_repos
import popcorn::pop_json

import commands::commands_http
import commands::commands_json

import templates::json_commands
import templates::html_commands

# Nitweb config file.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

# Translate command results to json
module commands_json
module json_commands

import commands_catalog
import commands_graph
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

module test_commands_json is test
module test_json_commands is test

import test_commands
intrude import doc::commands::commands_main
import doc::commands::commands_json
import json_commands

class TestCommandsJson
super TestCommands
Expand Down

0 comments on commit adead3b

Please sign in to comment.