Commits

seanmcl committed fab1eb3

rename

Comments (0)

Files changed (2)

elisp/omake/scratch.el

+
+(require 'ert)
+
+
+(Omake.Server.start)
+(Omake.Connection.open)
+(Omake.Connection.open-p)
+
+(setq id1 (Omake.Id.of-path "~/ocaml/lib"))
+(Omake.Server.create-project
+ :id id1
+ :omakeroot-dir "/home/seanmcl/ocaml"
+ :compilation-dir "/home/seanmcl/ocaml/lib"
+ :user-command "omake")
+
+(Omake.kill-project id1)
+
+(Jane.with-current-directory "~/ocaml/lib"
+  (Omake.compile))
+
+(Jane.with-current-directory "~/ocaml2/lib"
+  (Omake.compile))
+
+(Omake.Server.update-projects)
+Omake.Project.list
+
+(Omake.watch (Omake.Id.of-path "~/ocaml/lib"))
+(Omake.unwatch (Omake.Id.of-path "~/ocaml/lib"))
+(Omake.kill-project (Omake.Id.of-path "~/ocaml/lib"))
+(Omake.compile (Omake.Id.of-path "~/ocaml/lib"))
+
+(Omake.watch (Omake.Id.of-path "~/ocaml2/lib"))
+(Omake.unwatch (Omake.Id.of-path "~/ocaml2/lib"))
+
+(setq x 0)
+(while t
+  (incf x)
+  (message "x: %d" x)
+  ;;(Omake.with-connection t)
+  ;;(Omake.Server.ensure-running)
+  (Omake.with-updated-projects t)
+  ;;(Omake.Connection.ensure-open)
+  ;;(Omake.Server.update-projects)
+  )

elisp/omake/test.el

-
-(require 'ert)
-
-
-(Omake.Server.start)
-(Omake.Connection.open)
-(Omake.Connection.open-p)
-
-(setq id1 (Omake.Id.of-path "~/ocaml/lib"))
-(Omake.Server.create-project
- :id id1
- :omakeroot-dir "/home/seanmcl/ocaml"
- :compilation-dir "/home/seanmcl/ocaml/lib"
- :user-command "omake")
-
-(Omake.kill-project id1)
-
-(Jane.with-current-directory "~/ocaml/lib"
-  (Omake.compile))
-
-(Jane.with-current-directory "~/ocaml2/lib"
-  (Omake.compile))
-
-(Omake.Server.update-projects)
-Omake.Project.list
-
-(Omake.watch (Omake.Id.of-path "~/ocaml/lib"))
-(Omake.unwatch (Omake.Id.of-path "~/ocaml/lib"))
-(Omake.kill-project (Omake.Id.of-path "~/ocaml/lib"))
-(Omake.compile (Omake.Id.of-path "~/ocaml/lib"))
-
-(Omake.watch (Omake.Id.of-path "~/ocaml2/lib"))
-(Omake.unwatch (Omake.Id.of-path "~/ocaml2/lib"))
-
-(setq x 0)
-(while t
-  (incf x)
-  (message "x: %d" x)
-  ;;(Omake.with-connection t)
-  ;;(Omake.Server.ensure-running)
-  (Omake.with-updated-projects t)
-  ;;(Omake.Connection.ensure-open)
-  ;;(Omake.Server.update-projects)
-  )
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.