Skip to content

Commit

Permalink
Merge branch 'release/0.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
joaojsrbr committed Aug 2, 2022
2 parents 9ce8762 + 0fde945 commit b6a619e
Show file tree
Hide file tree
Showing 11 changed files with 88 additions and 81 deletions.
123 changes: 64 additions & 59 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,63 +1,68 @@
# # on:
# # pull_request:
# # types: [closed]
# # push:
# # branches:
# # - get-master
# on:
# pull_request:
# types: [closed]
# push:
# pull_request_target:
# branches:
# - get-master
on:
pull_request_target:
branches:
- main
types:
- closed
tags:
- v*
# - main
# types:
# - closed
# tags:
# - v*

name: "Build & Release"
# name: "Build & Release"

jobs:
if_merged:
if: github.event.pull_request.merged == true
name: Build & Release
runs-on: ubuntu-latest
env:
JAVA_VERSION: "11.0"
FLUTTER_VERSION: "3.0.4"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: ${{env.JAVA_VERSION}}
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{env.FLUTTER_VERSION}}
- run: flutter pub get
- run: flutter analyze
- run: flutter build apk --release
- run: flutter build apk --split-per-abi --release
- run: flutter build web --release --base-href="/AniList-jsr/"
- name: Push to Releases
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/flutter-apk/*.apk"
tag: v0.0.${{ github.run_number }}-b1
token: ${{ secrets.TOKEN }}
# - name: Build Web
# run: |
# cd build/web
# git init -b origin
# git config --global user.email [email protected]
# git config --global user.name joaojsrbr
# git status
# git remote add origin https://${{secrets.TOKEN}}@github.com/joaojsrbr/AniList-jsr.git
# git checkout -b gh-pages
# # git pull origin gh-pages
# git add .
# git commit -m "update"
# git push origin gh-pages -f
# - name: Telegram<apk>
# uses: appleboy/telegram-action@master
# with:
# to: ${{ secrets.TELEGRAM_TO }}
# token: ${{ secrets.TELEGRAM_TOKEN }}
# document: build/app/outputs/flutter-apk/*.apk
# jobs:
# if_merged:
# if: github.event.pull_request.merged == true
# name: Build & Release
# runs-on: ubuntu-latest
# env:
# JAVA_VERSION: "11.0"
# FLUTTER_VERSION: "3.0.4"
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-java@v1
# with:
# java-version: ${{env.JAVA_VERSION}}
# - uses: subosito/flutter-action@v2
# with:
# flutter-version: ${{env.FLUTTER_VERSION}}
# - run: flutter pub get
# - run: flutter analyze
# - run: flutter build apk --release
# - run: flutter build apk --split-per-abi --release
# - run: flutter build web --release --base-href="/AniList-jsr/"
# - uses: FirebaseExtended/action-hosting-deploy@v0
# with:
# repoToken: "${{ secrets.TOKEN }}"
# firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_MY_PROJECT_ID }}"
# projectId: MY_PROJECT_ID
# - name: Push to Releases
# uses: ncipollo/release-action@v1
# with:
# artifacts: "build/app/outputs/flutter-apk/*.apk"
# tag: v0.0.${{ github.run_number }}
# token: ${{ secrets.TOKEN }}
# # - name: Build Web
# # run: |
# # cd build/web
# # git init -b origin
# # git config --global user.email [email protected]
# # git config --global user.name joaojsrbr
# # git status
# # git remote add origin https://${{secrets.TOKEN}}@github.com/joaojsrbr/AniList-jsr.git
# # git checkout -b gh-pages
# # # git pull origin gh-pages
# # git add .
# # git commit -m "update"
# # git push origin gh-pages -f
# # - name: Telegram<apk>
# # uses: appleboy/telegram-action@master
# # with:
# # to: ${{ secrets.TELEGRAM_TO }}
# # token: ${{ secrets.TELEGRAM_TOKEN }}
# # document: build/app/outputs/flutter-apk/*.apk
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
<p align="center">
<img alt="GitHub language count" src="https://img.shields.io/github/languages/count/AlexBorgesDev/anr.svg" />
<img alt="GitHub top language" src="https://img.shields.io/github/languages/top/AlexBorgesDev/anr.svg" />
<img alt="Package License" src="https://img.shields.io/github/license/AlexBorgesDev/anr.svg" />
</p>

# com_joaojsrbr_reader

com_joaojsrbr_reader é uma aplicação mobile feita com Flutter. Onde você pode encontrar e ler mangás, manhwa, manhua, novels e webtoons, tendo seu histórico de leitura e favoritos salvos na nuvem, através do Firebase.
Expand All @@ -23,21 +17,19 @@ com_joaojsrbr_reader é uma aplicação mobile feita com Flutter. Onde você pod

Nenhum dos livros encontrados estão armazenados em servidor próprio. Todos eles são obtidos de diversos sites através de **web scraping**.

## Screenshots
<!--
## Screenshots -->

<p>
<img width="24.5%" src="./.github/Screenshot_20220617-103218.png" />
<img width="24.5%" src="./.github/Screenshot_20220617-103236.png" />
<img width="24.5%" src="./.github/Screenshot_20220617-103256.png" />
<img width="24.5%" src="./.github/Screenshot_20220617-104201.png" />
</p>
<!-- <p>
<img width="24.5%" src="./.github/" />
</p> -->

## Instalação
<!-- ## Instalação
Clone o projeto
```bash
git clone https://github.com/AlexBorgesDev/com_joaojsrbr_reader.git
git clone https://github.com/joaojsrbr/com_joaojsrbr_reader.git
```
Vá para o diretório do projeto
Expand All @@ -58,7 +50,7 @@ Apos configurar o firebase, é so rodar o app com o comando
```bash
flutter run --multidex
```
``` -->

## Licença

Expand Down
2 changes: 1 addition & 1 deletion lib/app/modules/search/controlers/search_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import 'package:com_joaojsrbr_reader/app/services/scans/mark_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/neox_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/prisma_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/reaper_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/manga_host_services.dart';
import 'package:com_joaojsrbr_reader/app/services/agregadores/manga_host_services.dart';
// import 'package:com_joaojsrbr_reader/app/services/scans/random_services.dart';

class SearchController extends GetxController {
Expand Down
2 changes: 1 addition & 1 deletion lib/app/repository/mangahost_repository.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:com_joaojsrbr_reader/app/models/book_item.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/manga_host_services.dart';
import 'package:com_joaojsrbr_reader/app/services/agregadores/manga_host_services.dart';
import 'package:flutter/foundation.dart';
import 'package:get/get_rx/get_rx.dart';
import 'package:loading_more_list/loading_more_list.dart';
Expand Down
9 changes: 9 additions & 0 deletions lib/app/repository/mangalivre_repository.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import 'package:com_joaojsrbr_reader/app/models/book_item.dart';
import 'package:loading_more_list/loading_more_list.dart';

class MangaLivreRepository extends LoadingMoreBase<BookItem> {
@override
Future<bool> loadData([Object isloadMoreAction = false]) {
throw UnimplementedError();
}
}
1 change: 1 addition & 0 deletions lib/app/services/agregadores/manga_livre_services.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
class MangaLivreServices {}
2 changes: 1 addition & 1 deletion lib/app/services/book_content.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:com_joaojsrbr_reader/app/services/scans/argos_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/cronos_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/manga_host_services.dart';
import 'package:com_joaojsrbr_reader/app/services/agregadores/manga_host_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/mark_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/neox_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/prisma_services.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/app/services/book_info.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:com_joaojsrbr_reader/app/models/book.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/argos_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/cronos_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/manga_host_services.dart';
import 'package:com_joaojsrbr_reader/app/services/agregadores/manga_host_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/mark_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/neox_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/prisma_services.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/app/services/favorites.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:com_joaojsrbr_reader/app/models/book_item.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/manga_host_services.dart';
import 'package:com_joaojsrbr_reader/app/services/agregadores/manga_host_services.dart';
import 'package:com_joaojsrbr_reader/app/store/favorites_store.dart';
import 'package:com_joaojsrbr_reader/app/widgets/animated_fade_out_in.dart';
import 'package:firebase_auth/firebase_auth.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/app/services/search.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:com_joaojsrbr_reader/app/models/book_item.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/argos_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/cronos_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/manga_host_services.dart';
import 'package:com_joaojsrbr_reader/app/services/agregadores/manga_host_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/mark_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/neox_services.dart';
import 'package:com_joaojsrbr_reader/app/services/scans/prisma_services.dart';
Expand Down

0 comments on commit b6a619e

Please sign in to comment.