Skip to content

Commit

Permalink
readded aw-server-python
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare authored and johan-bjareholt committed Feb 1, 2020
1 parent 2ddeef5 commit cbdc3b4
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
[submodule "aw-client"]
path = aw-client
url = https://github.com/ActivityWatch/aw-client.git
[submodule "aw-server"]
path = aw-server
url = https://github.com/ActivityWatch/aw-server.git
[submodule "aw-watcher-afk"]
path = aw-watcher-afk
url = https://github.com/ActivityWatch/aw-watcher-afk.git
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,16 @@ build:
#
make --directory=aw-core build DEV=$(DEV)
make --directory=aw-client build DEV=$(DEV)
make --directory=aw-server build DEV=$(DEV)
make --directory=aw-watcher-afk build DEV=$(DEV)
make --directory=aw-watcher-window build DEV=$(DEV)
make --directory=aw-server-rust build
make --directory=aw-qt build DEV=$(DEV)
# The below is needed due to: https://github.com/ActivityWatch/activitywatch/issues/173
make --directory=aw-client build DEV=$(DEV)
make --directory=aw-core build DEV=$(DEV)
# Needed to ensure that the server has the correct version set
python3 -c "import aw_server; print(aw_server.__version__)"


# Install
Expand Down Expand Up @@ -95,6 +98,7 @@ lint:
aw-core/aw_transform/ \
aw-core/aw_analysis/ \
aw-client/aw_client/ \
aw-server/aw_server/ \
aw-watcher-window/aw_watcher_window/ \
aw-watcher-afk/aw_watcher_afk/ \
aw-qt/aw_qt/
Expand All @@ -113,6 +117,7 @@ uninstall:
test:
make --directory=aw-core test
make --directory=aw-client test
make --directory=aw-server test
make --directory=aw-server-rust test
make --directory=aw-qt test

Expand Down Expand Up @@ -156,6 +161,9 @@ package:
#
make --directory=aw-watcher-window package
cp -r aw-watcher-window/dist/aw-watcher-window dist/activitywatch
#
make --directory=aw-server package
cp -r aw-server/dist/aw-server dist/activitywatch
#
make --directory=aw-server-rust package
cp -r aw-server-rust/target/package/* dist/activitywatch
Expand Down
2 changes: 1 addition & 1 deletion aw-client
Submodule aw-client updated 1 files
+1 −1 Makefile
2 changes: 1 addition & 1 deletion aw-core
Submodule aw-core updated 1 files
+1 −1 Makefile
1 change: 1 addition & 0 deletions aw-server
Submodule aw-server added at 47a208

0 comments on commit cbdc3b4

Please sign in to comment.