shells: silverfin: add helper commands for common tasks
This commit is contained in:
parent
1284e2744d
commit
1dae0c557c
1 changed files with 16 additions and 1 deletions
|
@ -20,7 +20,22 @@ pkgs.devshell.mkShell {
|
||||||
git fetch -p ; git branch -r | awk '{print $1}' | egrep -v -f - <(git branch -vv | grep origin) | awk '{print $1}' | xargs -r git branch -D
|
git fetch -p ; git branch -r | awk '{print $1}' | egrep -v -f - <(git branch -vv | grep origin) | awk '{print $1}' | xargs -r git branch -D
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "reset-test-assets";
|
||||||
|
category = "[general commands]";
|
||||||
|
help = "Force reset test assets";
|
||||||
|
command = ''
|
||||||
|
RAILS_ENV=test bundle exec rake webpacker:clobber && RAILS_ENV=test bundle exec rake webpacker:compile
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "reset-dev-translations-js";
|
||||||
|
category = "[general commands]";
|
||||||
|
help = "Force reset translations for JS inclusion";
|
||||||
|
command = ''
|
||||||
|
WEBPACKER_PRECOMPILE=false bundle exec rails assets:precompile
|
||||||
|
'';
|
||||||
|
}
|
||||||
];
|
];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
chromedriver
|
chromedriver
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue