Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] renamed to opa-watch

  • Loading branch information...
commit 75c314736222b1105cca0a6d39e817fcf418b6ae 1 parent 7eda1a1
@OpaOnWindowsNow OpaOnWindowsNow authored
View
6 BUILD
@@ -3,9 +3,9 @@
# To build from source (opa > 1.0.6):
echo Build
mkdir -p _build
-opa opa-dynamic.opack -o opa-dynamic.exe
+opa opa-watch.opack -o opa-watch.exe
-# Then to continuously build opa-dynamic:
+# Then to continuously build opa-watch:
# (avoid the launch it otherwise it will cycle)
# echo Continuous build
-# ./opa-dynamic.exe --src-dir ../opa-dynamic --command "opa *.opack -o opa-dynamic.exe" &
+# ./opa-watch.exe --src-dir ../opa-watch --command "opa *.opack -o opa-watch.exe" &
View
27 README.md
@@ -1,12 +1,13 @@
-opa-dynamic
+opa-watch
===========
-## What is *opa-dynamic*?
-*opa-dynamic* provides a project-based 'verify & launch loop' for Opa.
+
+## What is *opa-watch*?
+*opa-watch* provides a project-based 'verify & launch loop' for Opa.
This makes developpement with Opa even more fun and more productive.
Each time you do a modification on your project, your project is automatically verified by the *Opa* compiler (syntax, semantics, client/server distribution ...) and launched.
-*opa-dynamic* is editor-independant so it will work in any environment.
+*opa-watch* is editor-independant so it will work in any environment.
## Is my project supported?
@@ -15,9 +16,9 @@ It can be easily customized to work with most projects.
## How to use it?
-Assuming your project is compatible with *opa-dynamic*, in a terminal, start *opa-dynamic*:
+Assuming your project is compatible with *opa-watch*, in a terminal, start *opa-watch*:
-`opa-dynamic --src-dir path/opa_project`
+`opa-watch --src-dir path/opa_project`
Or just without argument when launched in the current directory.
You will be notifed of compilation error if any.
@@ -65,8 +66,8 @@ If `make` builds your project and `make run` launches or relaunches your project
## My Makefile is not supported, what should I do?
Assuming `make target1` is compiling your project, generating `target1.exe`.
-You can run:
-`opa-dynamic --src-dir path/opa_project --command "make target1.exe" --command "killall target1 && target1.exe"`
+You can do:
+`opa-watch --src-dir path/opa_project --command "make target1.exe" --command "killall target1 && target1.exe"`
See "How to use with project with custom build rules?" for explanations.
@@ -76,24 +77,24 @@ You can give the list of commands to build and launch your project.
Ensure that relaunching is supported by terminating a previously launched version.
The last command is assumed to be the launch command and its termination is not waited for. (if not, use `--no-launch`)
For instance:
-`opa-dynamic --src-dir path/opa_project --command "build_command" --command "killall launch.exe" --comand "launch.exe"`
+`opa-watch --src-dir path/opa_project --command "build_command" --command "killall launch.exe" --comand "launch.exe"`
## How to use specific opa options without specifying `--command`?
You can use `--opa-opt`.
For instance if your project is in classic syntax:
-`opa-dynamic --src-dir path/opa_project --opa-opt "--parser classic"`
+`opa-watch --src-dir path/opa_project --opa-opt "--parser classic"`
## How to avoid the `--src-dir` option?
The current directory will be use if `--src-dir` is omitted.
## Are Mac and Windows supported?
-*opa-dynamic* should work but the notification feature is not supported yet.
+*opa-watch* should work but the notification feature is not working yet.
## Can notification appeared in my favorite text editor?
We plan to support notification in emacs and Sublime Text, and to provide a simple way to have it on other editor.
-## Can I make opa-dynamic better?
+## Can I make opa-watch better?
With pleasure. Please contribute bug fixes, doc fixes and new features!
## What is the license?
-*opa-dynamic* is released under the MIT license.
+*opa-watch* is released under the MIT license.
View
2  opa-dynamic.conf
@@ -1,2 +0,0 @@
-opa-dynamic:
- opa-dynamic.opa
View
2  opa-watch.conf
@@ -0,0 +1,2 @@
+opa-watch:
+ opa-watch.opa
View
2  opa-dynamic.opa → opa-watch.opa
@@ -1,4 +1,4 @@
-/** opa-dynamic
+/** opa-watch
* Monitor a directory conataining a project, recompiles it and relaunch it when needed
*/
View
2  opa-dynamic.opack → opa-watch.opack
@@ -1,4 +1,4 @@
---conf opa-dynamic.conf
+--conf opa-watch.conf
--conf-opa-files
--parser classic
Please sign in to comment.
Something went wrong with that request. Please try again.