-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: testing fpm build * chore: optmizing tests * chore: run release on any push * chore: removing version for tests * fix: version for tests * chore: fpm deps sudo install * fix: removing license for now * fix: building deb with version as an argument * fix: binary path * fix: fpm license * chore: uploading deb as an artifact * fix: fpm command * chore: using make commands for building * chore: build make commands run in todayiwill folder * fix: working dir not needed * fix: redirect being done on make build-doc * fix: folders in makefile * fix: make arguments on release build * fix: version for tests * fix: returning on tags release * fix: updating version on release to be the current tag * fix: release job on release script * docs: deb packages * fix: install deb
- Loading branch information
Showing
3 changed files
with
39 additions
and
14 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
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,17 @@ | ||
build: | ||
@sed -i "s/^version =.*/version = \"$(VERSION)\"/g" todayiwill/Cargo.toml | ||
cd todayiwill && cargo build --release | ||
|
||
build-doc: | ||
cd todayiwill && cargo doc --no-deps | ||
@echo '<meta http-equiv="refresh" content="0;url=todayiwill/index.html">' > todayiwill/target/doc/index.html | ||
|
||
build-deb: | ||
fpm -s dir \ | ||
-t deb \ | ||
-n todayiwill \ | ||
-v $(VERSION) \ | ||
--license LICENSE \ | ||
--description "A CLI reminder app that offers a simple yet powerful solution to enhance productivity and ensure that you stay on top of your daily responsibilities" \ | ||
--maintainer "Vinicius Mayrink <[email protected]>" \ | ||
todayiwill/target/release/todayiwill=/usr/bin/todayiwill |
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