Browse Source

Move tmp file in /tmp/

 - Modify value in const.ml
 - Update todo list
Leo 11 years ago
parent
commit
09d7c6c6e3
3 changed files with 1 additions and 3 deletions
  1. 0 1
      TODO.md
  2. 1 1
      const.ml
  3. 0 1
      tmp_test.json

+ 0 - 1
TODO.md

@@ -1,6 +1,5 @@
 # Things to do
 
- + Use tmp file in /tmp
  + Make tmp file emplacement configurable
  + Put json file in real emplacement
  + Add command to modify configuration file

+ 1 - 1
const.ml

@@ -41,7 +41,7 @@ open Core.Std;;
 (* Some settings variales *)
 let rc_file = "rc_test.json";; (* TODO Dev value, change this *)
 (* Set tmp file, in witch stock launches *)
-let tmp_file = "tmp_test.json";; (* TODO Dev value, change this *)
+let tmp_file = "/tmp/tmp_test.json";; (* TODO Dev value, change this *)
 (* Template for the tmp file *)
 let (tmp_file_template:Yojson.Basic.json) = `Assoc
                                               [ "cmd", `List [];

+ 0 - 1
tmp_test.json

@@ -1 +0,0 @@
-{"cmd":[],"num":2}