parent
0d63f3ecd8
commit
bc57df4ff7
3 changed files with 1 additions and 35 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -3,6 +3,4 @@
|
||||||
*node_modules/
|
*node_modules/
|
||||||
*types/
|
*types/
|
||||||
*build/
|
*build/
|
||||||
**/ags/style.css
|
|
||||||
**/ags/flake.lock
|
|
||||||
result*
|
result*
|
||||||
|
|
|
@ -5,7 +5,7 @@ import { execAsync, monitorFile } from 'resource:///com/github/Aylur/ags/utils.j
|
||||||
const watchAndCompileSass = () => {
|
const watchAndCompileSass = () => {
|
||||||
const reloadCss = () => {
|
const reloadCss = () => {
|
||||||
const scss = `${App.configDir}/scss/main.scss`;
|
const scss = `${App.configDir}/scss/main.scss`;
|
||||||
const css = `${App.configDir}/style.css`;
|
const css = '/tmp/ags/style.css';
|
||||||
|
|
||||||
execAsync(`sassc ${scss} ${css}`).then(() => {
|
execAsync(`sassc ${scss} ${css}`).then(() => {
|
||||||
App.resetCss();
|
App.resetCss();
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
{
|
|
||||||
inputs.main.url = "path:../../../../.";
|
|
||||||
|
|
||||||
outputs = {
|
|
||||||
self,
|
|
||||||
main,
|
|
||||||
}: let
|
|
||||||
inherit (main.inputs) nixpkgs;
|
|
||||||
supportedSystems = ["x86_64-linux"];
|
|
||||||
|
|
||||||
perSystem = attrs:
|
|
||||||
nixpkgs.lib.genAttrs supportedSystems (system: let
|
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
|
||||||
in
|
|
||||||
attrs system pkgs);
|
|
||||||
in {
|
|
||||||
devShells = perSystem (_: pkgs: {
|
|
||||||
default = pkgs.mkShell {
|
|
||||||
nativeBuildInputs = with pkgs; [
|
|
||||||
nix
|
|
||||||
git
|
|
||||||
alejandra
|
|
||||||
typescript
|
|
||||||
bun
|
|
||||||
nodejs_18
|
|
||||||
];
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
formatter = perSystem (_: pkgs: pkgs.alejandra);
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue