mirror of https://gitlab.com/basile.b/dexed.git
dastworx, add linux script + update md
This commit is contained in:
parent
0560e0c789
commit
3b6b3c4d65
|
@ -0,0 +1,32 @@
|
|||
cd ..
|
||||
git submodule update --init
|
||||
git submodule foreach git checkout master
|
||||
cd dastworx
|
||||
|
||||
#iz sources
|
||||
cd ../etc/iz/import/
|
||||
iz=$(find `pwd` -type f -name \*.d)
|
||||
cd ../../../dastworx
|
||||
|
||||
#dparse sources
|
||||
cd ../etc/libdparse/src/
|
||||
dparse=$(find `pwd` -type f -name \*.d)
|
||||
cd ../../../dastworx
|
||||
|
||||
#dast sources
|
||||
cd src/
|
||||
dast=$(find `pwd` -type f -name \*.d)
|
||||
cd ../
|
||||
|
||||
echo building...
|
||||
|
||||
#build
|
||||
dmd ${dast[@]} ${dparse[@]} ${iz[@]} \
|
||||
-O -release -inline -boundscheck=off \
|
||||
-Isrc -I../etc/iz/import -I../etc/libdparse/src \
|
||||
-of../bin/dastworx
|
||||
|
||||
#cleanup
|
||||
rm ../bin/dastworx.o
|
||||
|
||||
echo ...done
|
|
@ -1,5 +1,22 @@
|
|||
dastworx
|
||||
========
|
||||
## Dastworx
|
||||
|
||||
_D AST works_ is a tool designed to simple tasks on the AST of a module.
|
||||
In development, will replace _cesyms_ and _cetodo_ from version 3 beta 1.
|
||||
_D AST works_ is a tool that processes the AST of a D module to extract several information used by Coedit.
|
||||
|
||||
It's notably used by the _symbol list_ and the _todo list_ widgets.
|
||||
|
||||
## Build
|
||||
|
||||
If Coedit is build manually you'll certainly have to build _dastworx_ too.
|
||||
Two options exist.
|
||||
|
||||
#### Using Coedit & the submodules
|
||||
|
||||
- If you've cloned this repository, make sure that the submodule are also here with `git submodule update --init`.
|
||||
- In Coedit open the project `dastworx.ce`.
|
||||
- Select the `release` configuration.
|
||||
- Click `Compile project`
|
||||
|
||||
#### Using the scripts
|
||||
|
||||
- Windows: `build.bat`
|
||||
- Linux: `sh ./build.sh`
|
Loading…
Reference in New Issue