Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into heroku-deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
unlobito committed Nov 27, 2022
2 parents acb30bd + 316d9d5 commit 0dc44ff
Show file tree
Hide file tree
Showing 10 changed files with 65 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Build"
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
- uses: cachix/cachix-action@v12
with:
name: pebble
skipPush: true
- name: Perform build
run: |
set -euxo pipefail
OUT_PATH="$(nix-build)"
mkdir dist
cp -r $OUT_PATH/* dist/
- name: Archive pbw
uses: actions/upload-artifact@v2
with:
name: skunk.pbw
path: dist/skunk.pbw
- name: Archive appstore bundle
uses: actions/upload-artifact@v2
with:
name: skunk-appstore-bundle.tar.gz
path: dist/appstore-bundle.tar.gz
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
build
.lock-waf*
.lock-waf*
result*
Binary file added assets/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon_large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon_small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot_coffee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot_flight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot_loyalty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/screenshot_supermarket.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ pebbleDotNixSrc ? builtins.fetchTarball {
url = "https://github.com/Sorixelle/pebble.nix/archive/a7be1fd6523b32f176a9558c7719beab94f9ba1c.tar.gz";
sha256 = "1x8izcv77biwx8l8ic57vfz72yg9p4v1k36f1z97lcl7631vyhy7";
}
, pebbleDotNix ? import pebbleDotNixSrc
, packageJSON ? builtins.fromJSON (builtins.readFile ./package.json)
}:

(pebbleDotNix.buildPebbleApp {
inherit (packageJSON) name version;
type = "watchapp";
src = ./.;

category = "Tools & Utilities";
description = ''
Skunk allows easy access to up to eight store cards and other barcodes.
Linear Barcodes: Codabar, Code 39, Code 128, EAN-8, EAN-13, Interleaved 2 of 5 (ITF), UPC-A
Matrix Barcodes: Aztec, Data Matrix, PDF417, QR
'';

releaseNotes = "Whoop.";

screenshots = {
all = [ "assets/screenshot_coffee.png" "assets/screenshot_flight.png" "assets/screenshot_loyalty.png" "assets/screenshot_supermarket.png" ];
};
banner = "assets/banner.png";
smallIcon = "assets/icon_small.png";
largeIcon = "assets/icon_large.png";
sourceUrl = "https://github.com/unlobito/skunk";
}) // {
devShell = pebbleDotNix.pebbleEnv { };
}

0 comments on commit 0dc44ff

Please sign in to comment.