Skip to content

Commit

Permalink
v1.0.25
Browse files Browse the repository at this point in the history
- Update template: `lib/src/template/bones_api_template.tar.gz`
  • Loading branch information
gmpassos committed Oct 13, 2021
1 parent 3c6cea0 commit 4003983
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.25

- Update template: `lib/src/template/bones_api_template.tar.gz`

## 1.0.24

- `TableFieldReference` and `TableFieldReference` now also have the fields type.
Expand Down
Binary file modified lib/src/template/bones_api_template.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: bones_api
description: Bones_API - A Powerful API backend framework for Dart. Comes with a built-in HTTP Server, routes handler, entity handler, SQL translator, and DB adapters.
version: 1.0.24
version: 1.0.25
homepage: https://github.com/Colossus-Services/bones_api

environment:
Expand Down
26 changes: 26 additions & 0 deletions update_project_template.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash

TEMPLATE_DIR="../bones_api_template"
TEMPLATE_TAR_GZ="./lib/src/template/bones_api_template.tar.gz"

if [ ! -d "$TEMPLATE_DIR" ]
then
echo "Directory $TEMPLATE_DIR DOES NOT exists!"
echo "Get it at GitHub!"
exit 1
fi


if [ -f "$TEMPLATE_TAR_GZ" ]
then
echo "Template file already exists: $TEMPLATE_TAR_GZ"
echo "Remove it first:"
echo ""
echo " rm $TEMPLATE_TAR_GZ"
echo ""
exit 1
fi

dart pub global activate project_template

dart run project_template prepare -d "$TEMPLATE_DIR" -o "$TEMPLATE_TAR_GZ" -r "^\.git" -r "\.DS_Store$"

0 comments on commit 4003983

Please sign in to comment.