-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from mekanix/feature/reggae
Improve Reggae support
- Loading branch information
Showing
13 changed files
with
54 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,4 +22,4 @@ test.db | |
vars.mk | ||
|
||
dist/ | ||
freenit.egg-info/ | ||
*.egg-info/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
.include <name.py> | ||
|
||
USE_FREENIT = YES | ||
SERVICE != echo ${app_name} | ||
REGGAE_PATH := /usr/local/share/reggae | ||
|
||
.include <${REGGAE_PATH}/mk/service.mk> | ||
|
||
build_lib: | ||
@sudo cbsd jexec jname=${SERVICE} user=devel cmd=/usr/src/bin/build.sh | ||
|
||
publish: build_lib | ||
@sudo cbsd jexec jname=${SERVICE} user=devel cmd=/usr/src/bin/publish.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
python_prefix: "py37-" | ||
devel_packages: | ||
- name: py37-sqlite3 | ||
- name: {{ python_prefix }}-sqlite3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
*.egg-info/ | ||
.coverage | ||
.pytest_cache | ||
__pycache__ | ||
coverage.xml | ||
database.db | ||
local_config.py | ||
test.db | ||
|
||
# Reggae | ||
.provisioned | ||
ansible/group_vars/all | ||
ansible/inventory/inventory | ||
ansible/roles/* | ||
ansible/site.yml | ||
!ansible/roles/.keep | ||
build/ | ||
cbsd.conf | ||
site.retry | ||
fstab | ||
project.mk | ||
site.retry | ||
vars.mk | ||
|
||
build/ | ||
cbsd.conf | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.include <name.py> | ||
|
||
SYSPKG := YES | ||
USE_FREENIT = YES | ||
SERVICE != echo \${app_name}back | ||
REGGAE_PATH := /usr/local/share/reggae | ||
|
||
.include <\${REGGAE_PATH}/mk/service.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
#!/bin/sh | ||
|
||
|
||
BIN_DIR=`dirname $0` | ||
set -e | ||
|
||
export BIN_DIR=`dirname $0` | ||
export PROJECT_ROOT="${BIN_DIR}/.." | ||
. ${BIN_DIR}/common.sh | ||
setup | ||
|
||
flask collect --verbose | ||
|
||
if [ "${OFFLINE}" != "yes" ]; then | ||
pip install -U -r requirements_dev.txt | ||
fi | ||
|
||
cd ${PROJECT_ROOT} | ||
rm -rf *.egg-info build dist | ||
python setup.py sdist bdist_wheel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
|
||
BIN_DIR=`dirname $0` | ||
. ${BIN_DIR}/common.sh | ||
setup | ||
|
||
flask collect --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
.include <${REGGAE_PATH}/mk/shell.mk> | ||
.include <${REGGAE_PATH}/mk/ansible.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters