Skip to content

Commit 7189463

Browse files
committed
Include the date in package names.
1 parent 30347e3 commit 7189463

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
DOC_FOLDER = documentation
22
PACKAGE_CONTENT = nuclos.py default.ini LICENSE $(DOC_FOLDER)
3+
DATE = $(shell date +%Y-%m-%d)
34

45
all: documentation package
56

67
package:
78
@echo "Packaging the zip file..."
8-
@zip -r python-nuclos.zip $(PACKAGE_CONTENT)
9+
@zip -r python-nuclos-$(DATE).zip $(PACKAGE_CONTENT)
910
@echo "Packaging the tar file..."
10-
@tar -czf python-nuclos.tar.gz $(PACKAGE_CONTENT)
11+
@tar -czf python-nuclos-$(DATE).tar.gz $(PACKAGE_CONTENT)
1112

1213
documentation: docco-installed
1314
@echo "Building documentation..."

nuclos.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@ class BusinessObjectInstance:
585585
# TODO: Status.
586586
# TODO: Process.
587587
# TODO: Document fields.
588+
# TODO: Call business rules.
588589
def __init__(self, nuclos, business_object, bo_id=None):
589590
self._nuclos = nuclos
590591
self._business_object = business_object

0 commit comments

Comments
 (0)