Skip to content

Commit

Permalink
fix: fix invalid justfile include paths (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsherman authored Sep 23, 2023
1 parent b60bd12 commit ed8d0bf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build/ublue-os-just/ublue-os-just.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Name: ublue-os-just
Packager: ublue-os
Vendor: ublue-os
Version: 0.3
Version: 0.4
Release: 1%{?dist}
Summary: ublue-os just integration
License: MIT
Expand Down Expand Up @@ -36,7 +36,7 @@ cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7}

# Create justfile which contains all .just files included in this package
for justfile in %{buildroot}%{_datadir}/%{VENDOR}/%{sub_name}/*.just; do
echo "!include %{_datadir}/%{VENDOR}/%{sub_name}/${justfile}" >> "%{buildroot}%{_datadir}/%{VENDOR}/justfile"
echo "!include %{_datadir}/%{VENDOR}/%{sub_name}/$(basename ${justfile})" >> "%{buildroot}%{_datadir}/%{VENDOR}/justfile"
done

%files
Expand All @@ -47,6 +47,9 @@ done
%attr(0644,root,root) %{_datadir}/%{VENDOR}/justfile

%changelog
* Thu Sep 21 2023 Benjamin Sherman <[email protected]> - 0.4
- Correct justfile include paths

* Thu Sep 21 2023 Kyle Gospodnetich <[email protected]> - 0.3
- Modify just files to be numbered for ordered loading
- Move to using a single master justfile
Expand Down

0 comments on commit ed8d0bf

Please sign in to comment.