Development
Due to the organization of the Packages, probably any change will requires appropriate changes on the sedentary package itself and on some DB engine dedicated extension as well.
In order to do that, the database engine dedicated extensions repositories are added as git submodule
of the
sedentary package repository.
Some make
target have been added to support development of the packages together:
make [all]
- performs the basic setup (npm install
,npm link
, and so on …) on all the packagesmake clean
- removes TypeScript produced filesmake commit MESSAGE=""
- performsgit add .
andgit commit -m $MESSAGE
in all the git repositoriesmake coverage
- performsnpm coverage
on all the packagesmake diff
- performsgit diff
in all the git repositoriesmake doc
- builds this documentation locally: requires sphinxmake outdated
- runsnpm outdated
on all the packagesmake pull
- performsgit pull
in all the git repositoriesmake push
- performsgit push
in all the git repositoriesmake status
- performsgit status
in all the git repositoriesmake test
- performsnpm test
on all the packagesmake version VERSION=""
- changes the versions, commits, tags and publishes everithing
Both the test
and the coverage
targets require to access a database: depending on the packages in the
development worspace a connection parameter may be required. The connection parameters are the string
representation of the JSON object that should passed to the connect
method.
- sedentary-pg:
SPG
make coverage SPG='{"user":"postgres","password":"postgres"}'
make test SPG='{"user":"postgres","password":"postgres"}'
- sedentary-pg: