diff --git a/build.py b/build.py new file mode 100644 index 0000000..e378885 --- /dev/null +++ b/build.py @@ -0,0 +1,8 @@ +#!/usr/bin/python +import os + +for dir in os.listdir('.'): + if os.path.isdir(dir) and not dir.startswith('.'): + os.chdir(dir) + os.system('npm run build') + os.chdir('..') diff --git a/www/public/index.html b/www/public/index.html index 5888f0a..89a89a2 100644 --- a/www/public/index.html +++ b/www/public/index.html @@ -5,7 +5,7 @@ - Svelte app + Coucou diff --git a/www/src/main.ts b/www/src/main.ts index 8e1efe9..f13a50b 100644 --- a/www/src/main.ts +++ b/www/src/main.ts @@ -3,7 +3,7 @@ import App from './App.svelte'; const app = new App({ target: document.body, props: { - name: 'world' + name: 'tout le monde' } });