mirror of https://github.com/sveltejs/svelte
parent
88e1c6bd5d
commit
377b79d961
@ -1,13 +0,0 @@
|
||||
const sh = require('shelljs');
|
||||
|
||||
sh.cd(__dirname + '/../');
|
||||
|
||||
// fetch community repo
|
||||
sh.rm('-rf','scripts/community');
|
||||
sh.exec('npx degit sveltejs/community scripts/community');
|
||||
|
||||
// copy over relevant files
|
||||
sh.cp('scripts/community/whos-using-svelte/WhosUsingSvelte.svelte', 'src/routes/_components/WhosUsingSvelte.svelte');
|
||||
sh.cp('scripts/community/whos-using-svelte/WhosUsingSvelte.js', 'src/routes/_components/WhosUsingSvelte.js');
|
||||
sh.rm('-rf', 'static/organisations');
|
||||
sh.cp('-r', 'scripts/community/whos-using-svelte/organisations', 'static');
|
||||
Loading…
Reference in new issue