Delete install.js

This commit is contained in:
Filip Rojek 2021-08-15 18:45:15 +02:00 committed by GitHub
parent 21bf17ed3f
commit 843fe0dd36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +0,0 @@
#!/usr/bin/node
import fs from 'fs'
import path from 'path'
/**
* This will only works if the project folder is in the parent folder
* This is not global fs solution!
*/
fs.copyFile('./framework/artisan.js', './artisan.js', err => {
if (err) {
console.log(err)
console.log(path.resolve(path.dirname('')))
}
if (!err) {
console.log('\x1b[32m%s\x1b[0m', 'Framework installed successfully!')
}
})