Misc cleanup.
* Update .gitignore * move test/runtime artifacts into their own dirs. * remove sqlite dbs that leaked into source control.pull/363/head
parent
08868bf6fb
commit
ae79980dd7
|
@ -1,57 +1,36 @@
|
|||
# The directory Mix will write compiled artifacts to.
|
||||
# App artifacts
|
||||
/_build
|
||||
|
||||
# If you run "mix test --cover", coverage assets end up here.
|
||||
/cover
|
||||
|
||||
# The directory Mix downloads your dependencies sources to.
|
||||
/db
|
||||
/deps
|
||||
|
||||
# Where 3rd-party dependencies like ExDoc output generated docs.
|
||||
/*.ez
|
||||
/doc
|
||||
|
||||
# If the VM crashes, it generates a dump, let's ignore it too.
|
||||
erl_crash.dump
|
||||
|
||||
# Also ignore archive artifacts (built via "mix archive.build").
|
||||
*.ez
|
||||
|
||||
# Web stuffs
|
||||
npm*
|
||||
node_modules
|
||||
bundle.js
|
||||
cache
|
||||
|
||||
erl_crash.dump
|
||||
ttb_last_config
|
||||
cover
|
||||
|
||||
Makefile.bac
|
||||
|
||||
# releases generated by the Makefile
|
||||
/release-*
|
||||
|
||||
# Nerves artifacts
|
||||
/_images
|
||||
/.nerves
|
||||
/images
|
||||
/_nerves-tmp
|
||||
nerves_system_*
|
||||
NERVES_SYSTEM_*
|
||||
Makefile
|
||||
release-*
|
||||
dump.rdb
|
||||
#priv/firmware.hex
|
||||
/nerves/*
|
||||
!/nerves/host
|
||||
!/nerves/target
|
||||
|
||||
# this file isnt stored here but just in case.
|
||||
fwup-key.priv
|
||||
.env
|
||||
# secret config stuffs for dev environment.
|
||||
auth_secret.exs
|
||||
# Secret config
|
||||
auth_secret_test.exs
|
||||
|
||||
flash_fw.sh
|
||||
tmp
|
||||
*.sqlite3
|
||||
*.sqlite3-shm
|
||||
*.sqlite3-wal
|
||||
*.img
|
||||
run-qemu.sh
|
||||
auth_secret.exs
|
||||
|
||||
# Farmbot argifacts
|
||||
tmp/
|
||||
test_tmp/
|
||||
|
||||
# Generated on crash by the VM
|
||||
erl_crash.dump
|
||||
|
||||
# From other branches
|
||||
/cache
|
||||
*.js
|
||||
Makefile
|
||||
|
||||
# Various env vars.
|
||||
.env
|
||||
|
||||
# Fwup keys aren't stored here, but just in case.
|
||||
*.priv
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,17 +0,0 @@
|
|||
defmodule <%= camel_instruction %> do
|
||||
@moduledoc """
|
||||
<%= snake_instruction %>
|
||||
"""
|
||||
|
||||
alias Farmbot.CeleryScript.AST
|
||||
alias Farmbot.CeleryScript.VirtualMachine.Instruction
|
||||
@behaviour Instruction
|
||||
|
||||
def precompile(%AST{} = ast) do
|
||||
{:ok, ast}
|
||||
end
|
||||
|
||||
def execute(args, body) do
|
||||
|
||||
end
|
||||
end
|
|
@ -1,30 +0,0 @@
|
|||
defmodule Farmbot.BotStateSupport do
|
||||
@moduledoc "Helpers for starting the BotState stack."
|
||||
alias Farmbot.BotState
|
||||
|
||||
alias Farmbot.BotState.{
|
||||
InformationalSettings,
|
||||
Configuration,
|
||||
LocationData,
|
||||
ProcessInfo,
|
||||
McuParams
|
||||
}
|
||||
|
||||
def start_bot_state_stack do
|
||||
{:ok, bot_state} = BotState.start_link([])
|
||||
{:ok, info_settings} = InformationalSettings.start_link(bot_state, [])
|
||||
{:ok, config} = Configuration.start_link(bot_state, [])
|
||||
{:ok, loc_data} = LocationData.start_link(bot_state, [])
|
||||
{:ok, proc_info} = ProcessInfo.start_link(bot_state, [])
|
||||
{:ok, mcu_params} = McuParams.start_link(bot_state, [])
|
||||
|
||||
%{
|
||||
bot_state: bot_state,
|
||||
informational_settings: info_settings,
|
||||
configuration: config,
|
||||
location_data: loc_data,
|
||||
process_info: proc_info,
|
||||
mcu_params: mcu_params
|
||||
}
|
||||
end
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
version = 6.0.0
|
||||
commit = 12ce8265
|
||||
target = host
|
||||
env = test
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue